[gtk+] Fix make check



commit 5ee39befb86e68c5ff29cf0aee8fadb9fc40a3f7
Author: Matthias Clasen <mclasen redhat com>
Date:   Tue Oct 27 13:26:50 2015 -0400

    Fix make check
    
    Don't try setting GtkShortcutsShortcut::accelerator to a
    random value, it only accepts strings that it can parse.

 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 505c066..6ef29f9 100644
--- a/testsuite/gtk/notify.c
+++ b/testsuite/gtk/notify.c
@@ -661,6 +661,10 @@ test_type (gconstpointer data)
           pspec->owner_type == GTK_TYPE_BUTTON)
         continue;
 
+      if (g_type_is_a (type, GTK_TYPE_SHORTCUTS_SHORTCUT) &&
+         g_str_equal (pspec->name, "accelerator"))
+       continue;
+
       if (g_test_verbose ())
         g_print ("Property %s.%s\n", g_type_name (pspec->owner_type), pspec->name);
 


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