demos: No need to set the rgb colormap here

This commit is contained in:
Benjamin Otte 2010-07-13 17:14:14 +02:00
parent da49daecc4
commit 1e64e36b58

View File

@ -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);