[Wayland-bugs] [Bug 700166] glade fails to build introspection with Gtk 3.9
glade (bugzilla.gnome.org)
bugzilla at gnome.org
Mon May 13 08:49:43 PDT 2013
https://bugzilla.gnome.org/show_bug.cgi?id=700166
glade | general | unspecified
--- Comment #7 from Tristan Van Berkom <tristanvb at openismus.com> 2013-05-13 15:49:38 UTC ---
(In reply to comment #6)
> (In reply to comment #5)
>
> > The quick and dirty fix to work around this issue would be to just
> > not register the stock list when DISPLAY is NULL
>
> But remember this is the *normal case*. Very broadly speaking, 98.3% of users
> get their glade binaries from packages like deb/rpm. 99.9% of those packages
> are built using pbuilder/mock which will not have DISPLAY set. So this code
> cannot have its intended effect.
Sure it can.
Glade does not use the GIR information to introspect what stock ids are
available, instead Glade uses the GType of an enum, the enum itself
has it's _get_type() called when Glade actually runs, and while initializing
the type on a system where Glade runs, it will be populated with values
from gtk_stock_list_ids() as usual.
Only the GIR will not contain an enum with the stock ids listed as
enum values (which as I mentioned, is not important anyway).
It's a plausible workaround afaics.
--
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