[gtk+/rendering-cleanup: 28/40] demos: No need to set the rgb colormap here
- From: Benjamin Otte <otte src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/rendering-cleanup: 28/40] demos: No need to set the rgb colormap here
- Date: Tue, 13 Jul 2010 22:30:20 +0000 (UTC)
commit ff6d49c2e45d9ec47b946a3867cd48ae4172befc
Author: Benjamin Otte <otte redhat com>
Date: Tue Jul 13 17:14:14 2010 +0200
demos: No need to set the rgb colormap here
demos/testpixbuf-color.c | 2 --
1 files changed, 0 insertions(+), 2 deletions(-)
---
diff --git a/demos/testpixbuf-color.c b/demos/testpixbuf-color.c
index 78fa939..003f333 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);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]