diff options
author | Tristan Van Berkom <tristan.van.berkom@gmail.com> | 2013-04-05 19:55:21 +0900 |
---|---|---|
committer | Tristan Van Berkom <tristan.van.berkom@gmail.com> | 2013-04-05 21:30:27 +0900 |
commit | 563e3a346cf4c97e0ced54babac64ee1059fe0b9 (patch) | |
tree | 2344651487991445426899306ef594ecc893448f /tests | |
parent | 7c5fdd2eb764154d22764d69f492d477157f42e8 (diff) | |
download | glade-563e3a346cf4c97e0ced54babac64ee1059fe0b9.tar.gz |
Test Cases: Now GtkComboBox finalizes properly.
The bug had to do with a call to glade_widget_rebuild()
Diffstat (limited to 'tests')
-rw-r--r-- | tests/add-child.c | 8 | ||||
-rw-r--r-- | tests/create-widgets.c | 2 |
2 files changed, 3 insertions, 7 deletions
diff --git a/tests/add-child.c b/tests/add-child.c index 32f8ab45..b7b02c21 100644 --- a/tests/add-child.c +++ b/tests/add-child.c @@ -184,9 +184,8 @@ add_child_widgets (GType parent_type) add_test (parent_type, GTK_TYPE_LINK_BUTTON, assert_widget_parented); add_test (parent_type, GTK_TYPE_MENU_BUTTON, assert_widget_parented); - /* FIXME: Combo box types dont finalize properly for some reason */ - /* add_test (parent_type, GTK_TYPE_COMBO_BOX, assert_widget_parented); */ - /* add_test (parent_type, GTK_TYPE_COMBO_BOX_TEXT, assert_widget_parented); */ + add_test (parent_type, GTK_TYPE_COMBO_BOX, assert_widget_parented); + add_test (parent_type, GTK_TYPE_COMBO_BOX_TEXT, assert_widget_parented); add_test (parent_type, GTK_TYPE_SCALE_BUTTON, assert_widget_parented); add_test (parent_type, GTK_TYPE_VOLUME_BUTTON, assert_widget_parented); add_test (parent_type, GTK_TYPE_FONT_BUTTON, assert_widget_parented); @@ -296,8 +295,7 @@ main (int argc, add_test (GTK_TYPE_TREE_VIEW, GTK_TYPE_TREE_VIEW_COLUMN, assert_column_parented); add_child_cells (GTK_TYPE_TREE_VIEW_COLUMN); add_child_cells (GTK_TYPE_ICON_VIEW); - /* FIXME: Combo box types dont finalize properly for some reason */ - /* add_child_cells (GTK_TYPE_COMBO_BOX); */ + add_child_cells (GTK_TYPE_COMBO_BOX); /* TextTag */ add_test (GTK_TYPE_TEXT_TAG_TABLE, GTK_TYPE_TEXT_TAG, NULL); diff --git a/tests/create-widgets.c b/tests/create-widgets.c index 80c53f3b..c1e9b6df 100644 --- a/tests/create-widgets.c +++ b/tests/create-widgets.c @@ -101,8 +101,6 @@ main (int argc, 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: Combo box types dont finalize properly for some reason */ - !g_type_is_a (adaptor_type, GTK_TYPE_COMBO_BOX) && /* 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 */ |