[gtk+/gtk-2-90: 22/158] Remove deprecated/ broken types from the default value test



commit d0e3df2f0db36ad70d6d7b1ce4caf8e83368784b
Author: Christian Dywan <christian twotoasts de>
Date:   Wed Oct 7 18:10:06 2009 +0200

    Remove deprecated/ broken types from the default value test

 gtk/tests/defaultvalue.c |   17 -----------------
 1 files changed, 0 insertions(+), 17 deletions(-)
---
diff --git a/gtk/tests/defaultvalue.c b/gtk/tests/defaultvalue.c
index 5253884..dca1ccd 100644
--- a/gtk/tests/defaultvalue.c
+++ b/gtk/tests/defaultvalue.c
@@ -81,13 +81,6 @@ test_type (gconstpointer data)
       g_type_is_a (type, gdk_pixbuf_simple_anim_iter_get_type ()))
     return;
 
-  /* The gtk_arg compat wrappers can't set up default values */
-  if (g_type_is_a (type, GTK_TYPE_CLIST) ||
-      g_type_is_a (type, GTK_TYPE_CTREE) ||
-      g_type_is_a (type, GTK_TYPE_LIST) ||
-      g_type_is_a (type, GTK_TYPE_TIPS_QUERY)) 
-    return;
-
   klass = g_type_class_ref (type);
   
   if (g_type_is_a (type, GTK_TYPE_SETTINGS))
@@ -177,11 +170,6 @@ test_type (gconstpointer data)
            strcmp (pspec->name, "buffer") == 0))
 	continue;
 
-      /* Gets set to the cwd */
-      if (g_type_is_a (type, GTK_TYPE_FILE_SELECTION) &&
-	  strcmp (pspec->name, "filename") == 0)
-	continue;
-
       if (g_type_is_a (type, GTK_TYPE_FONT_SELECTION) &&
 	  strcmp (pspec->name, "font") == 0)
 	continue;
@@ -269,11 +257,6 @@ test_type (gconstpointer data)
 	   strcmp (pspec->name, "font-desc") == 0))
         continue;
 
-      if (g_type_is_a (type, GTK_TYPE_TEXT) &&
-	  (strcmp (pspec->name, "hadjustment") == 0 ||
-           strcmp (pspec->name, "vadjustment") == 0))
-        continue;
-
       if (g_type_is_a (type, GTK_TYPE_TEXT_VIEW) &&
           strcmp (pspec->name, "buffer") == 0)
         continue;



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