[gtk+] Don't check resize-grip-visible in default values unit test



commit 25bf8ba4defeff5b22b87cb9bc337042730e9f47
Author: Kristian Rietveld <kris gtk org>
Date:   Tue Oct 12 19:08:34 2010 +0200

    Don't check resize-grip-visible in default values unit test
    
    The value for this property is determined at runtime.

 gtk/tests/defaultvalue.c |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)
---
diff --git a/gtk/tests/defaultvalue.c b/gtk/tests/defaultvalue.c
index ace79ff..22301a1 100644
--- a/gtk/tests/defaultvalue.c
+++ b/gtk/tests/defaultvalue.c
@@ -275,6 +275,11 @@ test_type (gconstpointer data)
 	   strcmp (pspec->name, "style") == 0))
 	continue;
 
+      /* resize-grip-visible is determined at runtime */
+      if (g_type_is_a (type, GTK_TYPE_WINDOW) &&
+          (strcmp (pspec->name, "resize-grip-visible") == 0))
+        continue;
+
       if (g_test_verbose ())
       g_print ("Property %s.%s\n", 
 	     g_type_name (pspec->owner_type),



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