diff options
Diffstat (limited to 'libmate-desktop/mate-desktop-thumbnail.c')
-rw-r--r-- | libmate-desktop/mate-desktop-thumbnail.c | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/libmate-desktop/mate-desktop-thumbnail.c b/libmate-desktop/mate-desktop-thumbnail.c index 0178389..9b5272d 100644 --- a/libmate-desktop/mate-desktop-thumbnail.c +++ b/libmate-desktop/mate-desktop-thumbnail.c @@ -763,10 +763,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); } |