[Wayland-bugs] [Bug 700166] glade fails to build introspection with Gtk 3.9

glade (bugzilla.gnome.org) bugzilla at gnome.org
Sun May 12 06:36:09 PDT 2013


https://bugzilla.gnome.org/show_bug.cgi?id=700166
  glade | general | unspecified

Tristan Van Berkom <tristanvb> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |tristanvb at openismus.com

--- Comment #1 from Tristan Van Berkom <tristanvb at openismus.com> 2013-05-12 13:36:05 UTC ---
This is a bug with how introspection works.

introspection calls API from libraries it introspects (notably
it calls class initializers by way of g_type_class_ref (LIBRARY_GTYPE)),
but it fails to initialize those libraries where some libraries need
to initialized.

This is not encouraging because for libraries such as GTK+,
initializing the library normally requires a DISPLAY.

In the case of Glade particularly, this started failing because
one of the dynamic enumeration types we use needs to call
gtk_stock_list_ids(), and gtk_stock_list_ids() stopped working
without proper initialization of GTK+ (and without a display).

Again, the problem points back to how gobject-introspection
needs to call API from the libraries it introspects, but fails
to require initialization.

-- 
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


More information about the Wayland-bugs mailing list