[gtk+/rendering-cleanup: 28/124] demos: No need to set the rgb colormap here



commit f829db6f6cf03c700e202bb6714be9477dff3031
Author: Benjamin Otte <otte redhat com>
Date:   Tue Jul 13 17:14:14 2010 +0200

    demos: No need to set the rgb colormap here

 demos/testpixbuf-color.c |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)
---
diff --git a/demos/testpixbuf-color.c b/demos/testpixbuf-color.c
index 78fa939..003f333 100644
--- a/demos/testpixbuf-color.c
+++ b/demos/testpixbuf-color.c
@@ -111,8 +111,6 @@ main (int argc, char **argv)
 
 	gtk_init (&argc, &argv);
 
-	gtk_widget_set_default_colormap (gdk_rgb_get_colormap ());
-
 	root = gdk_get_default_root_window ();
 	pixbuf = gdk_pixbuf_get_from_drawable (NULL, root, NULL,
 					       0, 0, 0, 0, 150, 160);



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