[gtk+/rendering-cleanup: 105/141] tests: Don't set colormap when creating offscreen windows
- From: Benjamin Otte <otte src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/rendering-cleanup: 105/141] tests: Don't set colormap when creating offscreen windows
- Date: Thu, 9 Sep 2010 16:32:09 +0000 (UTC)
commit 63a010a088d1af3574ef1f426bcccb7f421d06ae
Author: Benjamin Otte <otte redhat com>
Date: Sat Aug 28 18:05:47 2010 +0200
tests: Don't set colormap when creating offscreen windows
tests/gtkoffscreenbox.c | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
---
diff --git a/tests/gtkoffscreenbox.c b/tests/gtkoffscreenbox.c
index 831e56a..1338746 100644
--- a/tests/gtkoffscreenbox.c
+++ b/tests/gtkoffscreenbox.c
@@ -264,10 +264,9 @@ gtk_offscreen_box_realize (GtkWidget *widget)
| GDK_LEAVE_NOTIFY_MASK;
attributes.visual = gtk_widget_get_visual (widget);
- attributes.colormap = gtk_widget_get_colormap (widget);
attributes.wclass = GDK_INPUT_OUTPUT;
- attributes_mask = GDK_WA_X | GDK_WA_Y | GDK_WA_VISUAL | GDK_WA_COLORMAP;
+ attributes_mask = GDK_WA_X | GDK_WA_Y | GDK_WA_VISUAL;
window = gdk_window_new (gtk_widget_get_parent_window (widget),
&attributes, attributes_mask);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]