Add gobject-introspection catalog generation
Submitted by Alexandre Mazari
Link to original bug (#646734)
Description
This is the firt (public) iteration of a patch adding introspected library support to glade editor. Basically, GtkWidgets from introspected libraries are usable in Glade "for free".
To tryout GIR catalog generation, add your typelibs directory to glade catalog search path, ex. :
GLADE_CATALOG_PATH=/usr/lib64/girepository-1.0 glade
Gtk namespace is ignored by default, as we use a XML catalog for it.
This patch is rougth around the edge: g_prints, memory handling and indent might need some work. Also, the XML parsing codepath was modified, so regressions must be hunted.
Questions arrised:
- caching ?
- priorization ? XML over GIR ?
- what icons to use ? Generating from offscreen pixmaps ?