Commit c8afa3f0 authored by Javier Jardón's avatar Javier Jardón

tests/testxinerama.c: Use accessor functions to access GtkWidget

parent bd52a854
......@@ -32,7 +32,7 @@ request (GtkWidget *widget,
gchar *str;
GdkScreen *screen = gtk_widget_get_screen (widget);
gint i = gdk_screen_get_monitor_at_window (screen,
gtk_widget_get_window (widget));
if (i < 0)
str = g_strdup ("<big><span foreground='white' background='black'>Not on a monitor </span></big>");
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment