mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2025-01-14 22:30:22 +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,
|
change_cursor_theme (GtkWidget *widget,
|
||||||
gpointer data)
|
gpointer data)
|
||||||
{
|
{
|
||||||
|
#if defined(GDK_WINDOWING_X11) || defined (GDK_WINDOWING_WAYLAND)
|
||||||
const gchar *theme;
|
const gchar *theme;
|
||||||
gint size;
|
gint size;
|
||||||
GList *children;
|
GList *children;
|
||||||
@ -4969,6 +4970,7 @@ change_cursor_theme (GtkWidget *widget,
|
|||||||
if (GDK_IS_WAYLAND_DISPLAY (display))
|
if (GDK_IS_WAYLAND_DISPLAY (display))
|
||||||
gdk_wayland_display_set_cursor_theme (display, theme, size);
|
gdk_wayland_display_set_cursor_theme (display, theme, size);
|
||||||
#endif
|
#endif
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user