[gtk+/rendering-cleanup: 104/141] testgtk: Don't set colormap when creating GDK windows
- From: Benjamin Otte <otte src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/rendering-cleanup: 104/141] testgtk: Don't set colormap when creating GDK windows
- Date: Thu, 9 Sep 2010 16:32:04 +0000 (UTC)
commit ff99ad712240e2491e1da4ff5c2cb79a094ccd00
Author: Benjamin Otte <otte redhat com>
Date: Sat Aug 28 18:05:30 2010 +0200
testgtk: Don't set colormap when creating GDK windows
tests/testgtk.c | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
---
diff --git a/tests/testgtk.c b/tests/testgtk.c
index 68cb7d7..4ace39c 100644
--- a/tests/testgtk.c
+++ b/tests/testgtk.c
@@ -552,10 +552,9 @@ create_pattern (GtkWidget *widget,
attributes.wclass = GDK_INPUT_OUTPUT;
attributes.event_mask = GDK_EXPOSURE_MASK;
attributes.visual = gtk_widget_get_visual (widget);
- attributes.colormap = gtk_widget_get_colormap (widget);
child = gdk_window_new (parent, &attributes,
- GDK_WA_X | GDK_WA_Y | GDK_WA_VISUAL | GDK_WA_COLORMAP);
+ GDK_WA_X | GDK_WA_Y | GDK_WA_VISUAL);
pattern_set_bg (widget, child, level);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]