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 585928 - docs on widget circularities, mention get_ancestor
docs on widget circularities, mention get_ancestor
Status: RESOLVED FIXED
Product: gnome-perl
Classification: Bindings
Component: Gtk2
unspecified
Other Linux
: Normal normal
: ---
Assigned To: gtk2-perl-bugs
gtk2-perl-bugs
Depends on:
Blocks:
 
 
Reported: 2009-06-16 00:10 UTC by Kevin Ryde
Modified: 2009-06-18 19:04 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Gtk2::Widget docs mention get_ancestor for circularities (1.27 KB, patch)
2009-06-16 00:11 UTC, Kevin Ryde
accepted-commit_now Details | Review

Description Kevin Ryde 2009-06-16 00:10:40 UTC
I've had some success using $widget->get_ancestor instead of userdata.  The bit in the Gtk2::Widget docs could mention that, per below.
Comment 1 Kevin Ryde 2009-06-16 00:11:21 UTC
Created attachment 136681 [details] [review]
Gtk2::Widget docs mention get_ancestor for circularities
Comment 2 Torsten Schoenfeld 2009-06-18 19:04:59 UTC
Pushed: <http://git.gnome.org/cgit/perl-Gtk2/commit/?id=879eb0844171ca2a5>.  Thanks!