4 Commits

Author SHA1 Message Date
Tristan Van Berkom
2f05655cd3 GtkIconFactory adaptor: Added a destroy_object function
The GtkIconFactory adaptor adds the factory to the default
with gtk_icon_factory_add_default() at post create time, now
we remove it at destroy object time.

Enabled the create-objects test for GtkIconFactory which now
passes again.
2013-04-06 15:44:41 +09:00
Tristan Van Berkom
563e3a346c Test Cases: Now GtkComboBox finalizes properly.
The bug had to do with a call to glade_widget_rebuild()
2013-04-05 21:30:27 +09:00
Tristan Van Berkom
fdd5289f5e create-widgets.c test: Avoid GtkFileChooserButton
Currently this one causes subsequent tests to fail due to a leaked
GTask callback.
2013-04-05 15:17:56 +09:00
Tristan Van Berkom
f1543fca91 Added Glade's first unit test (about time !)
This patch clears the way for unit testing, some environment variables
are added to ensure unit tests run on code that is not installed but
in tree.

The added test iterates over all widgets in the catalog, uses the
adaptor to create a GladeWidget and asserts that the GladeWidget and
it's internal object is finalized after unreferencing the GladeWidget.
2013-04-05 01:13:56 +09:00