diff options
author | Zhang Xianwei <[email protected]> | 2018-01-09 14:34:48 +0800 |
---|---|---|
committer | raveit65 <[email protected]> | 2018-01-10 09:05:55 +0100 |
commit | 173a0e7236c1ea5ea42be1ed91c11d94001e3124 (patch) | |
tree | 5112533660b1c77e3ee3b858cf9e1486a39e6961 | |
parent | ce58756f197dcf725338a3ead8a8a93a3633d073 (diff) | |
download | mate-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]>
-rw-r--r-- | capplets/appearance/theme-installer.c | 4 |
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, |