mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-11 19:30:10 +00:00
tests: unbreak testwindows test
Delete code that was broken and also used the APIs I just removed.
This commit is contained in:
parent
0b29f4e769
commit
dc7a8f9be7
@ -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);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user