diff options
author | Benjamin Otte <otte@redhat.com> | 2010-08-27 20:02:04 +0200 |
---|---|---|
committer | Benjamin Otte <otte@redhat.com> | 2010-09-26 15:11:31 +0200 |
commit | c340fb7efdec592b443df6c247cc1f2dece3dcce (patch) | |
tree | 614958a1dff4886482fc8c02340d4cd9378f80c7 /tests/testwindows.c | |
parent | b479ff9cb50eb43dbd74bc7d163230b3db454c83 (diff) | |
download | gtk+-c340fb7efdec592b443df6c247cc1f2dece3dcce.tar.gz |
tests: No need to allocate colors anymore
Diffstat (limited to 'tests/testwindows.c')
-rw-r--r-- | tests/testwindows.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/tests/testwindows.c b/tests/testwindows.c index 520e167e55..2a4db4db6b 100644 --- a/tests/testwindows.c +++ b/tests/testwindows.c @@ -51,8 +51,6 @@ create_window (GdkWindow *parent, bg->green = g_random_int_range (0, 0xffff);; } - if (!gdk_colormap_alloc_color (gtk_widget_get_colormap (darea), bg, FALSE, TRUE)) - g_assert_not_reached (); gdk_window_set_background (window, bg); g_object_set_data_full (G_OBJECT (window), "color", bg, g_free); |