[gtk/kill-tree-menu: 36/52] testsuite: Remove menu special-casing



commit 5e3f564f763f5378711c2a67ae72d909624c5986
Author: Matthias Clasen <mclasen redhat com>
Date:   Fri Dec 27 08:48:55 2019 -0500

    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 }
   };


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]