[gtk] notify test: Remove more nonexistent properties



commit 8aa4b5150ea61c64a4fa90b643de863572466b6f
Author: Daniel Boles <dboles src gmail com>
Date:   Wed Jun 27 17:17:05 2018 +0100

    notify test: Remove more nonexistent properties

 testsuite/gtk/notify.c | 21 ---------------------
 1 file changed, 21 deletions(-)
---
diff --git a/testsuite/gtk/notify.c b/testsuite/gtk/notify.c
index e507935f64..79b4e03406 100644
--- a/testsuite/gtk/notify.c
+++ b/testsuite/gtk/notify.c
@@ -505,10 +505,6 @@ test_type (gconstpointer data)
          g_str_equal (pspec->name, "page"))
         continue;
 
-      if (g_type_is_a (pspec->owner_type, GTK_TYPE_TOGGLE_BUTTON) &&
-         g_str_equal (pspec->name, "draw-indicator"))
-        continue;
-
       /* Too many special cases involving -set properties */
       if (g_str_equal (g_type_name (pspec->owner_type), "GtkCellRendererText") ||
           g_str_equal (g_type_name (pspec->owner_type), "GtkTextTag"))
@@ -518,19 +514,6 @@ test_type (gconstpointer data)
       if (g_str_equal (g_type_name (pspec->owner_type), "GtkComboBox"))
         continue;
 
-      if (g_type_is_a (pspec->owner_type, GTK_TYPE_COLOR_BUTTON) &&
-         g_str_equal (pspec->name, "alpha"))
-        continue;
-
-      if (g_type_is_a (pspec->owner_type, GTK_TYPE_CELL_RENDERER_PIXBUF) &&
-         (g_str_equal (pspec->name, "stock-id") ||
-           g_str_equal (pspec->name, "stock-size")))
-        continue;
-
-      if (g_type_is_a (pspec->owner_type, GTK_TYPE_MENU) &&
-         g_str_equal (pspec->name, "tearoff-state"))
-        continue;
-
       /* Can only be set on unmapped windows */
       if (pspec->owner_type == GTK_TYPE_WINDOW &&
           g_str_equal (pspec->name, "type-hint"))
@@ -607,10 +590,6 @@ test_type (gconstpointer data)
          g_str_equal (pspec->name, "font"))
        continue;
 
-      if (g_type_is_a (type, GTK_TYPE_FONT_BUTTON) &&
-         g_str_equal (pspec->name, "font-name"))
-       continue;
-
       /* these depend on the min-content- properties in a way that breaks our test */
       if (g_type_is_a (type, GTK_TYPE_SCROLLED_WINDOW) &&
          (g_str_equal (pspec->name, "max-content-width") ||


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