background: Handle no-flags from saved config
This commit is contained in:
parent
5517949b4e
commit
2a146db805
1 changed files with 3 additions and 0 deletions
|
@ -857,6 +857,9 @@ cc_background_item_compare (CcBackgroundItem *saved,
|
|||
CcBackgroundItemFlags flags;
|
||||
|
||||
flags = saved->priv->flags;
|
||||
if (flags == 0)
|
||||
return FALSE;
|
||||
|
||||
if (flags & CC_BACKGROUND_ITEM_HAS_URI) {
|
||||
if (files_equal (saved->priv->uri, configured->priv->uri) == FALSE)
|
||||
return FALSE;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue