[gtk+] Skip GtkShortcutLabel::accelerator in notify test



commit 80d329a3e70fdba725e707ee663fe16d8a0ad3a7
Author: Matthias Clasen <mclasen redhat com>
Date:   Tue Aug 2 23:59:34 2016 -0400

    Skip GtkShortcutLabel::accelerator in notify test
    
    This property is not freely settable, since the string
    gets parsed.

 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 c289c46..1970e00 100644
--- a/testsuite/gtk/notify.c
+++ b/testsuite/gtk/notify.c
@@ -667,6 +667,10 @@ test_type (gconstpointer data)
          g_str_equal (pspec->name, "accelerator"))
        continue;
 
+      if (g_type_is_a (type, GTK_TYPE_SHORTCUT_LABEL) &&
+         g_str_equal (pspec->name, "accelerator"))
+       continue;
+
       if (g_type_is_a (type, GTK_TYPE_FONT_CHOOSER) &&
          g_str_equal (pspec->name, "font"))
        continue;


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