After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 631765 - Override for TreeSelection.get_selected
Override for TreeSelection.get_selected
Status: RESOLVED FIXED
Product: pygobject
Classification: Bindings
Component: introspection
Git master
Other Linux
: Normal normal
: ---
Assigned To: Nobody's working on this now (help wanted and appreciated)
Python bindings maintainers
Depends on:
Blocks:
 
 
Reported: 2010-10-09 15:45 UTC by Sebastian Pölsterl
Modified: 2010-10-11 17:59 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Adds TreeSelection override (1.03 KB, patch)
2010-10-09 15:45 UTC, Sebastian Pölsterl
committed Details | Review

Description Sebastian Pölsterl 2010-10-09 15:45:37 UTC
Created attachment 172022 [details] [review]
Adds TreeSelection override

Currently, the method returns a tuple with 3 entries, where the first is a boolean indicating if the call was successful. The patch strips the first element to be compliant with PyGTK.
Comment 1 johnp 2010-10-11 13:31:40 UTC
Comment on attachment 172022 [details] [review]
Adds TreeSelection override

Feel free to commit any of these GSuccess fixes without review (as long as you don't add any other functionality).  Colin is up in air whether or not he wants to add a GSuccess annotation so for now this is the way to fix the issue.
Comment 2 Sebastian Pölsterl 2010-10-11 17:58:49 UTC
Just committed this patch.