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

glade (bugzilla.gnome.org) bugzilla at gnome.org
Mon May 13 11:41:02 PDT 2013


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

--- Comment #9 from Colin Walters <walters at verbum.org> 2013-05-13 18:40:56 UTC ---
(In reply to comment #7)

> Sure it can.

You're correct; sorry, I went off the rails briefly.

> 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.

Yeah, I guess.  But it's still quite ugly to have the situation where the GType
for GladeStock can only be accessed after gtk_init() has been invoked.

There are other approaches; Glade could dump the stock ids from gtk+ at *build*
time; then it would need to be rebuilt after new stock items are added to gtk+,
but it'd be more reliable.

Why does glade have an enumeration mirroring the stock ids anyways as opposed
to just having callers use the strings?

-- 
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