[gtk+/rendering-cleanup: 97/144] tests: No need to allocate colors anymore
- From: Benjamin Otte <otte src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/rendering-cleanup: 97/144] tests: No need to allocate colors anymore
- Date: Thu, 23 Sep 2010 21:25:31 +0000 (UTC)
commit a5b56f51c221409208af03dd227422bb54752d48
Author: Benjamin Otte <otte redhat com>
Date: Fri Aug 27 20:02:04 2010 +0200
tests: No need to allocate colors anymore
tests/testwindows.c | 2 --
1 files changed, 0 insertions(+), 2 deletions(-)
---
diff --git a/tests/testwindows.c b/tests/testwindows.c
index 520e167..2a4db4d 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);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]