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 654238 - gtk_plug_get_id not introspectable
gtk_plug_get_id not introspectable
Status: RESOLVED FIXED
Product: gtk+
Classification: Platform
Component: Widget: Other
3.1.x
Other Linux
: Normal normal
: ---
Assigned To: gtk-bugs
gtk-bugs
Depends on:
Blocks:
 
 
Reported: 2011-07-08 11:41 UTC by marmuta
Modified: 2011-09-23 13:16 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description marmuta 2011-07-08 11:41:00 UTC
Current gir1.2-gtk-3.0, 3.1.8-0ubuntu1 (up-to-date Ubuntu Oneiric) does not expose the get_id() method of GtkPlug.

python -c 'from gi.repository import Gtk; Gtk.Plug().get_embedded(); Gtk.Plug().get_id()'
Traceback (most recent call last):
  • File "<string>", line 1 in <module>
AttributeError: 'Plug' object has no attribute 'get_id'

Launchpad bug report here
https://bugs.launchpad.net/onboard/+bug/807473
Comment 1 marmuta 2011-09-23 13:16:34 UTC
This has apparently been fixed. I have retested with gir1.2-gtk-3.0 3.1.90-0ubuntu1 and found that calling get_id() works as expected.