summaryrefslogtreecommitdiff
path: root/tests/gtkoffscreenbox.c
diff options
context:
space:
mode:
authorBenjamin Otte <otte@redhat.com>2010-08-28 18:05:47 +0200
committerBenjamin Otte <otte@redhat.com>2010-09-26 15:11:31 +0200
commit600f52321b53f21e1051ae0923c4232619cecc89 (patch)
tree6b9c5052c34d1185a84c419aebd4afd68e7f5f80 /tests/gtkoffscreenbox.c
parent08e6fc11ad9f4b94bdc475d9a2e9dfc2c1febdea (diff)
downloadgtk+-600f52321b53f21e1051ae0923c4232619cecc89.tar.gz
tests: Don't set colormap when creating offscreen windows
Diffstat (limited to 'tests/gtkoffscreenbox.c')
-rw-r--r--tests/gtkoffscreenbox.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/gtkoffscreenbox.c b/tests/gtkoffscreenbox.c
index cd70c3e4aa..a889296135 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);