[gtk+] Exclude GtkToggleButton::draw-indicator from the notification test



commit f1c1192e7183a2209ba85cbb5b279d18ee795342
Author: Matthias Clasen <mclasen redhat com>
Date:   Sat Jun 28 10:58:24 2014 -0400

    Exclude GtkToggleButton::draw-indicator from the notification test
    
    We reverted to emitting redundant notifications for this, so
    don't assert that we don't.

 testsuite/gtk/notify.c |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/testsuite/gtk/notify.c b/testsuite/gtk/notify.c
index e86ca65..0b963a5 100644
--- a/testsuite/gtk/notify.c
+++ b/testsuite/gtk/notify.c
@@ -486,6 +486,10 @@ 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;
+
       /* Not supported in subclass */
       if (g_str_equal (g_type_name (type), "GtkRecentAction") &&
          g_str_equal (pspec->name, "select-multiple"))


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