summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorTristan Van Berkom <tristan.van.berkom@gmail.com>2013-04-06 15:42:03 +0900
committerTristan Van Berkom <tristan.van.berkom@gmail.com>2013-04-06 15:44:41 +0900
commit2f05655cd3b3aec97a4104d946385956f8967c86 (patch)
tree02c6204e37e25796220ed9474e462c2a932e2e61 /tests
parentaf4ff2a61ff6f3c70dffd91e4b37dc2d326851ec (diff)
downloadglade-2f05655cd3b3aec97a4104d946385956f8967c86.tar.gz
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.
Diffstat (limited to 'tests')
-rw-r--r--tests/create-widgets.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/tests/create-widgets.c b/tests/create-widgets.c
index c1e9b6df..605ea26d 100644
--- a/tests/create-widgets.c
+++ b/tests/create-widgets.c
@@ -99,8 +99,6 @@ main (int argc,
if (G_TYPE_IS_INSTANTIATABLE (adaptor_type) && !G_TYPE_IS_ABSTRACT (adaptor_type) &&
/* FIXME: Status Icon crashes at dispose time unrealizing it's GtkTrayIcon without a window */
adaptor_type != GTK_TYPE_STATUS_ICON &&
- /* FIXME: Icon factory adds itself to the default but never removes itself */
- adaptor_type != GTK_TYPE_ICON_FACTORY &&
/* FIXME: FileChooserButton leaks a GTask which will crash in the following test */
adaptor_type != GTK_TYPE_FILE_CHOOSER_BUTTON &&
/* FIXME: App choosers leak some async operations after finalization, causing subsequent tests to fail */