From bf4ec504b25c01c21468fa69346248553880442e Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Fri, 27 Dec 2019 08:48:55 -0500 Subject: [PATCH] testsuite: Remove menu special-casing --- testsuite/gtk/notify.c | 13 ------------- testsuite/gtk/object.c | 3 --- 2 files changed, 16 deletions(-) diff --git a/testsuite/gtk/notify.c b/testsuite/gtk/notify.c index 16bd2aa757..9b02dd2b33 100644 --- a/testsuite/gtk/notify.c +++ b/testsuite/gtk/notify.c @@ -510,19 +510,6 @@ test_type (gconstpointer data) g_str_equal (pspec->name, "text-column")) continue; - if (g_type_is_a (pspec->owner_type, GTK_TYPE_MENU_ITEM) && - g_str_equal (pspec->name, "accel-path")) - continue; - - if (g_type_is_a (pspec->owner_type, GTK_TYPE_MENU) && - (g_str_equal (pspec->name, "accel-path") || - g_str_equal (pspec->name, "active"))) - continue; - - if (g_type_is_a (pspec->owner_type, GTK_TYPE_CHECK_MENU_ITEM) && - g_str_equal (pspec->name, "active")) - continue; - if (g_type_is_a (pspec->owner_type, GTK_TYPE_COLOR_CHOOSER) && g_str_equal (pspec->name, "show-editor")) continue; diff --git a/testsuite/gtk/object.c b/testsuite/gtk/object.c index 7b48446cbc..1ef86df0a3 100644 --- a/testsuite/gtk/object.c +++ b/testsuite/gtk/object.c @@ -72,8 +72,6 @@ list_ignore_properties (gboolean buglist) { "GtkFileChooserButton", "action", (void*) GTK_FILE_CHOOSER_ACTION_CREATE_FOLDER }, { "GtkFileChooserWidget", "select-multiple", (void*) 0x1 }, /* property conflicts */ { "GtkFileChooserDialog", "select-multiple", (void*) MATCH_ANY_VALUE }, /* property disabled */ - { "GtkMenu", "accel-path", (void*) MATCH_ANY_VALUE }, /* has odd restrictions in the setter */ - { "GtkMenuItem", "accel-path", (void*) MATCH_ANY_VALUE }, /* has odd restrictions in the setter */ { "GtkTextView", "overwrite", (void*) MATCH_ANY_VALUE }, /* needs text buffer */ { "GtkTreeView", "expander-column", (void*) MATCH_ANY_VALUE }, /* assertion list != NULL */ { "GtkWindow", "display", (void*) MATCH_ANY_VALUE }, @@ -86,7 +84,6 @@ list_ignore_properties (gboolean buglist) { "GtkFileChooserButton", "local-only", (void*) MATCH_ANY_VALUE }, /* FIXME: triggers NULL path assertion */ { "GtkFileChooserDialog", "local-only", (void*) MATCH_ANY_VALUE }, /* FIXME: triggers NULL path assertion */ { "GtkFileChooserWidget", "local-only", (void*) MATCH_ANY_VALUE }, /* FIXME: triggers NULL path assertion */ - { "GtkMenu", "tearoff-state", (void*) MATCH_ANY_VALUE }, /* FIXME: triggers NULL widget cast */ { "GtkText", "text-position", (void*) MATCH_ANY_VALUE }, /* FIXME: segfaults, fix property minimum/maximum */ { NULL, NULL, NULL } };