mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-12-26 21:51:08 +00:00
testgtk: Compile without warnings on win32
This commit is contained in:
parent
34db80c28b
commit
b561af25ec
@ -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
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user