demos: No need to set the rgb colormap here
This commit is contained in:
@@ -111,8 +111,6 @@ main (int argc, char **argv)
|
|||||||
|
|
||||||
gtk_init (&argc, &argv);
|
gtk_init (&argc, &argv);
|
||||||
|
|
||||||
gtk_widget_set_default_colormap (gdk_rgb_get_colormap ());
|
|
||||||
|
|
||||||
root = gdk_get_default_root_window ();
|
root = gdk_get_default_root_window ();
|
||||||
pixbuf = gdk_pixbuf_get_from_drawable (NULL, root, NULL,
|
pixbuf = gdk_pixbuf_get_from_drawable (NULL, root, NULL,
|
||||||
0, 0, 0, 0, 150, 160);
|
0, 0, 0, 0, 150, 160);
|
||||||
|
|||||||
Reference in New Issue
Block a user