tests: unbreak testwindows test

Delete code that was broken and also used the APIs I just removed.
This commit is contained in:
Benjamin Otte 2010-08-15 03:51:39 +02:00
parent 0b29f4e769
commit dc7a8f9be7

View File

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