forked from AuroraMiddleware/gtk
Suppress cursor theme unsupported warning when there's no theme.
This commit is contained in:
parent
9e0faf6a38
commit
108c20bd51
@ -2697,7 +2697,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