summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libgnome-desktop/gnome-desktop-thumbnail.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/libgnome-desktop/gnome-desktop-thumbnail.c b/libgnome-desktop/gnome-desktop-thumbnail.c
index eb50f371..7a1963bd 100644
--- a/libgnome-desktop/gnome-desktop-thumbnail.c
+++ b/libgnome-desktop/gnome-desktop-thumbnail.c
@@ -941,10 +941,11 @@ external_thumbnailers_disabled_changed_cb (GSettings *setting
g_mutex_lock (&priv->lock);
- if (priv->disabled)
- return;
- g_strfreev (priv->disabled_types);
- priv->disabled_types = g_settings_get_strv (priv->settings, "disable");
+ if (!priv->disabled)
+ {
+ g_strfreev (priv->disabled_types);
+ priv->disabled_types = g_settings_get_strv (priv->settings, "disable");
+ }
g_mutex_unlock (&priv->lock);
}