forked from AuroraMiddleware/gtk
demos: No need to set the rgb colormap here
This commit is contained in:
parent
da49daecc4
commit
1e64e36b58
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user