tests: Don't set colormap when creating offscreen windows

This commit is contained in:
Benjamin Otte 2010-08-28 18:05:47 +02:00
parent 08e6fc11ad
commit 600f52321b

View File

@ -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);