[gtk+] tests: unbreak testwindows test
- From: Benjamin Otte <otte src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] tests: unbreak testwindows test
- Date: Sun, 15 Aug 2010 01:52:16 +0000 (UTC)
commit dc7a8f9be75ef88d508829415f09a2cb96090320
Author: Benjamin Otte <otte redhat com>
Date: Sun Aug 15 03:51:39 2010 +0200
tests: unbreak testwindows test
Delete code that was broken and also used the APIs I just removed.
tests/testwindows.c | 3 ---
1 files changed, 0 insertions(+), 3 deletions(-)
---
diff --git a/tests/testwindows.c b/tests/testwindows.c
index 48e2b4b..4d276ed 100644
--- a/tests/testwindows.c
+++ b/tests/testwindows.c
@@ -726,7 +726,6 @@ render_window_cell (GtkTreeViewColumn *tree_column,
GtkTreeIter *iter,
gpointer data)
{
- GdkColor *color = NULL;
GdkWindow *window;
char *name;
@@ -740,10 +739,8 @@ render_window_cell (GtkTreeViewColumn *tree_column,
else
name = g_strdup_printf ("%p", window);
- gdk_window_get_background (window, color);
g_object_set (cell,
"text", name,
- "background-gdk", color,
NULL);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]