diff --git a/gtk/tests/object.c b/gtk/tests/object.c index 545e2d414d..ee11a790f0 100644 --- a/gtk/tests/object.c +++ b/gtk/tests/object.c @@ -275,19 +275,6 @@ widget_test_properties (GtkWidget *widget, g_free (pspecs); } -static void -widget_fixups (GtkWidget *widget) -{ - /* post-constructor for widgets that need additional settings to work correctly */ - if (GTK_IS_COMBO_BOX (widget)) - { - GtkListStore *store = gtk_list_store_new (1, G_TYPE_STRING); - g_object_set (widget, "model", store, NULL); - g_object_unref (store); - gtk_combo_box_append_text (GTK_COMBO_BOX (widget), "test text"); - } -} - static void widget_property_tests (gconstpointer test_data) { @@ -295,7 +282,6 @@ widget_property_tests (gconstpointer test_data) /* create widget */ GtkWidget *widget = gtk_widget_new (wtype, NULL); g_object_ref_sink (widget); - widget_fixups (widget); /* test property values */ widget_test_properties (widget, +2); /* test default_value */ widget_test_properties (widget, 0); /* test minimum */