[gtk+/rendering-cleanup: 92/142] tests: Remove GdkPixmap from test



commit fecb706757d0606acf040d1cf9462a4951003d69
Author: Benjamin Otte <otte redhat com>
Date:   Fri Aug 27 17:03:02 2010 +0200

    tests: Remove GdkPixmap from test
    
    It's not used anymore. (Was it ever?)

 gtk/tests/defaultvalue.c |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)
---
diff --git a/gtk/tests/defaultvalue.c b/gtk/tests/defaultvalue.c
index 5100028..52848eb 100644
--- a/gtk/tests/defaultvalue.c
+++ b/gtk/tests/defaultvalue.c
@@ -84,8 +84,6 @@ test_type (gconstpointer data)
   
   if (g_type_is_a (type, GTK_TYPE_SETTINGS))
     instance = g_object_ref (gtk_settings_get_default ());
-  else if (g_type_is_a (type, GDK_TYPE_PIXMAP))
-    instance = g_object_ref (gdk_pixmap_new (NULL, 1, 1, 1));
   else if (g_type_is_a (type, GDK_TYPE_COLORMAP))
     instance = g_object_ref (gdk_colormap_new (gdk_visual_get_best (), TRUE));
   else if (g_type_is_a (type, GDK_TYPE_WINDOW))



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