* 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.
I added yesterday since they were bogus: those
pointers could be NULL.
Split up glade_widget_write_child from widget_write
for easier readability and warn about the yet not
supported tag InternalChild.
Fix a segfault on open project.
* src/glade-widget-class.c (glade_widget_class_remove_duplicated_properties):
when we had a specialized property on a base widget class, if this property
was the first one on the list of properties, the whole list was removed.
2003-08-15 Joaquin Cuenca Abela <e98cuenc@yahoo.com>
* src/glade-parameter.c: set 0.01 as the step for float and double parameters.
* src/glade-widget-class.c: parse the PostCreateFunction value on
glade_widget_class_extend_with_file.
* widgets/gtkwindow.xml: put again the PostCreateFunction to set a reasonable
default size for a window.
* widgets/gtkmessagedialog.xml: reuse this xml file.
* widgets/*.xml: remove some unneed tags, as name and generic_name, as now
there are defined on gtk-base and gtk-additional.xml files.