Suppress cursor theme unsupported warning when there's no theme.

This commit is contained in:
John Ralls 2013-10-10 15:35:41 -07:00
parent 9e0faf6a38
commit 108c20bd51

View File

@ -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);