diff options
author | Benjamin Otte <otte@redhat.com> | 2010-08-28 18:05:30 +0200 |
---|---|---|
committer | Benjamin Otte <otte@redhat.com> | 2010-09-26 15:11:31 +0200 |
commit | 08e6fc11ad9f4b94bdc475d9a2e9dfc2c1febdea (patch) | |
tree | 9ad3e20a969ff60cb7ae7fc1bc7c4fee10178e21 /tests | |
parent | e8a6bad00bc9c544cece170f01dd220e5abc3254 (diff) | |
download | gtk+-08e6fc11ad9f4b94bdc475d9a2e9dfc2c1febdea.tar.gz |
testgtk: Don't set colormap when creating GDK windows
Diffstat (limited to 'tests')
-rw-r--r-- | tests/testgtk.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/testgtk.c b/tests/testgtk.c index a699e54b16..7314119114 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); |