[gtk+] Exempt GtkAssistant.use-header-bar from defaultvalue test



commit c45932f9bc6e9dab912f211991ef4c1919511209
Author: Matthias Clasen <mclasen redhat com>
Date:   Sun Feb 2 17:57:07 2014 -0500

    Exempt GtkAssistant.use-header-bar from defaultvalue test
    
    Just like GtkDialog, this one has a special-purpose
    default value.

 testsuite/gtk/defaultvalue.c |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/testsuite/gtk/defaultvalue.c b/testsuite/gtk/defaultvalue.c
index 84a3d80..11cf4fb 100644
--- a/testsuite/gtk/defaultvalue.c
+++ b/testsuite/gtk/defaultvalue.c
@@ -137,6 +137,10 @@ test_type (gconstpointer data)
          (strcmp (pspec->name, "use-header-bar") == 0))
        continue;
 
+      if (g_type_is_a (type, GTK_TYPE_ASSISTANT) &&
+         (strcmp (pspec->name, "use-header-bar") == 0))
+       continue;
+
       if (g_type_is_a (type, GTK_TYPE_POPOVER) &&
          (strcmp (pspec->name, "pointing-to") == 0))
        continue;


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