summaryrefslogtreecommitdiff
path: root/demos
diff options
context:
space:
mode:
authorBenjamin Otte <otte@redhat.com>2010-07-13 17:14:14 +0200
committerBenjamin Otte <otte@redhat.com>2010-07-26 16:42:48 +0200
commit1e64e36b5828c55138d1a11ac2b5814f8121a9e2 (patch)
tree766cb55a6863669b0ca7180f19179de1a3dc1804 /demos
parentda49daecc4a22e271a3a1d9c61cbbda96a549be7 (diff)
downloadgtk+-1e64e36b5828c55138d1a11ac2b5814f8121a9e2.tar.gz
demos: No need to set the rgb colormap here
Diffstat (limited to 'demos')
-rw-r--r--demos/testpixbuf-color.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/demos/testpixbuf-color.c b/demos/testpixbuf-color.c
index 78fa939289..003f333849 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);