diff options
Diffstat (limited to 'libmate-desktop/mate-bg.c')
-rw-r--r-- | libmate-desktop/mate-bg.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libmate-desktop/mate-bg.c b/libmate-desktop/mate-bg.c index fbdcdb0..8f48297 100644 --- a/libmate-desktop/mate-bg.c +++ b/libmate-desktop/mate-bg.c @@ -3210,6 +3210,9 @@ mate_bg_changes_with_time (MateBG *bg) g_return_val_if_fail (bg != NULL, FALSE); + if (!bg->filename) + return FALSE; + show = get_as_slideshow (bg, bg->filename); if (show) return g_queue_get_length (show->slides) > 1; |