Commit 563e3a34 authored by Tristan Van Berkom's avatar Tristan Van Berkom
Browse files

Test Cases: Now GtkComboBox finalizes properly.

The bug had to do with a call to glade_widget_rebuild()
parent 7c5fdd2e
......@@ -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);
......
......@@ -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 */
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment