demos: No need to set the rgb colormap here
This commit is contained in:
parent
244fc05cff
commit
d80bc7868f
1 changed files with 0 additions and 2 deletions
|
|
@ -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 a new issue