forked from AuroraMiddleware/gtk
Suppress cursor theme unsupported warning when there's no theme.
This commit is contained in:
parent
a96f4e77c7
commit
010f30ecf2
@ -2699,7 +2699,8 @@ settings_update_cursor_theme (GtkSettings *settings)
|
||||
"gtk-cursor-theme-name", &theme,
|
||||
"gtk-cursor-theme-size", &size,
|
||||
NULL);
|
||||
|
||||
if (theme == NULL)
|
||||
return;
|
||||
#ifdef GDK_WINDOWING_X11
|
||||
if (GDK_IS_X11_DISPLAY (display))
|
||||
gdk_x11_display_set_cursor_theme (display, theme, size);
|
||||
|
Loading…
Reference in New Issue
Block a user