mirror of
https://gitlab.gnome.org/GNOME/glade.git
synced 2025-10-15 00:02:24 -04:00
* src/glade-catalog.c: read the name of the plugin to be used by each catalog and pass it to the constructor of glade-widget-class. Also if a specific class has a specific plugin name to be used, use it instead of the generic of the whole catalog. * src/glade-gtk.c: remove the "static" from the functions that should be exported, and remove the "temp hack" that was used to load the address of the functions, as it's no more needed. * src/glade-property-class.c: remove glade_property_class_get_{get,set}_function and use g_module_symbol instead. * src/glade-widget-class.c: use g_module_symbol instead of the previous {get,set} functions. Remove unused functions. Rename glade_widget_class_new_from_name2 to glade_widget_class_new as it's the only constructor. Use the plugin name that glade-widget-class passed to the constructor and load it. * src/glade-widget-class.h: add a GModule* by GladeWidgetClass. * src/glade-widget.c: remove the #include <glade-gtk.h> * widgets/gtk-additional.xml: add the name of the plugin ("gtk") for all the widgets on gtk-additional. * widgets/gtk-base.xml: ditto * widgets/gtkwidget.xml: remove the "name" tag, as it's not need. * widgets/gtkwindow.xml: change glade_gtk_widget_{get,set}_tooltip by "ignore", as that's what these functions do.
20 lines
367 B
C
20 lines
367 B
C
#undef ENABLE_NLS
|
|
#undef HAVE_CATGETS
|
|
#undef HAVE_GETTEXT
|
|
#undef HAVE_LC_MESSAGES
|
|
#undef HAVE_STPCPY
|
|
#undef PACKAGE
|
|
#undef VERSION
|
|
#undef GLADE_DEBUG
|
|
#undef GLADE_DATA_DIR
|
|
#undef USE_GNOME
|
|
#undef USE_GNOME_DB
|
|
#undef ENABLE_BONOBO
|
|
#undef PALETTE_TYPE
|
|
#undef USING_OAF
|
|
#undef PIXMAPS_DIR
|
|
#undef WIDGETS_DIR
|
|
#undef CATALOGS_DIR
|
|
#undef MODULES_DIR
|
|
#undef GETTEXT_PACKAGE
|