summaryrefslogtreecommitdiff
path: root/capplets
diff options
context:
space:
mode:
authorZhang Xianwei <[email protected]>2018-01-09 14:34:48 +0800
committerraveit65 <[email protected]>2018-01-10 09:05:55 +0100
commit173a0e7236c1ea5ea42be1ed91c11d94001e3124 (patch)
tree5112533660b1c77e3ee3b858cf9e1486a39e6961 /capplets
parentce58756f197dcf725338a3ead8a8a93a3633d073 (diff)
downloadmate-control-center-173a0e7236c1ea5ea42be1ed91c11d94001e3124.tar.bz2
mate-control-center-173a0e7236c1ea5ea42be1ed91c11d94001e3124.tar.xz
Remove useless duplication in mate_theme_install_real
Handle Case THEME_MATE | THEME_MARCO | THEME_GTK should be same, so remove useless duplication. Signed-off-by: Zhang Xianwei <[email protected]>
Diffstat (limited to 'capplets')
-rw-r--r--capplets/appearance/theme-installer.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/capplets/appearance/theme-installer.c b/capplets/appearance/theme-installer.c
index 2ffb1158..e28b9383 100644
--- a/capplets/appearance/theme-installer.c
+++ b/capplets/appearance/theme-installer.c
@@ -310,10 +310,6 @@ mate_theme_install_real (GtkWindow *parent,
theme_name, NULL);
break;
case THEME_MATE:
- target_dir = g_build_path (G_DIR_SEPARATOR_S,
- g_get_home_dir (), ".themes",
- theme_name, NULL);
- break;
case THEME_MARCO:
case THEME_GTK:
target_dir = g_build_path (G_DIR_SEPARATOR_S,