testgtk: Compile without warnings on win32

This commit is contained in:
Benjamin Otte 2016-02-07 19:18:18 +01:00 committed by Benjamin Otte
parent 34db80c28b
commit b561af25ec

View File

@ -4948,6 +4948,7 @@ static void
change_cursor_theme (GtkWidget *widget,
gpointer data)
{
#if defined(GDK_WINDOWING_X11) || defined (GDK_WINDOWING_WAYLAND)
const gchar *theme;
gint size;
GList *children;
@ -4969,6 +4970,7 @@ change_cursor_theme (GtkWidget *widget,
if (GDK_IS_WAYLAND_DISPLAY (display))
gdk_wayland_display_set_cursor_theme (display, theme, size);
#endif
#endif
}