diff options
Diffstat (limited to 'capplets/appearance')
-rw-r--r-- | capplets/appearance/theme-util.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/capplets/appearance/theme-util.c b/capplets/appearance/theme-util.c index 5f7b6c40..74b4f497 100644 --- a/capplets/appearance/theme-util.c +++ b/capplets/appearance/theme-util.c @@ -99,8 +99,8 @@ gboolean theme_delete (const gchar *name, ThemeType type) break; case THEME_TYPE_META: - theme = (MateThemeCommonInfo *) mate_theme_info_find (name); - theme_dir = g_strdup (theme->path); + theme = (MateThemeCommonInfo *) mate_theme_meta_info_find (name); + theme_dir = g_path_get_dirname (theme->path); del_empty_parent = FALSE; break; |