summaryrefslogtreecommitdiff
path: root/capplets/appearance/theme-installer.c
diff options
context:
space:
mode:
authorZhang Xianwei <[email protected]>2018-02-11 17:16:22 +0800
committerraveit65 <[email protected]>2018-02-12 13:40:23 +0100
commit9e312c404d28250bd75782ba6f7a96ba9b707fb1 (patch)
treeba4c42238c83632fe0089617e65418486c00f3df /capplets/appearance/theme-installer.c
parente76a646147b81a3298c095585b2f6dbbc4324383 (diff)
downloadmate-control-center-9e312c404d28250bd75782ba6f7a96ba9b707fb1.tar.bz2
mate-control-center-9e312c404d28250bd75782ba6f7a96ba9b707fb1.tar.xz
Remove useless parameter in mate_theme_install_real
filetype is not used in mate_theme_install_real, remove it. Signed-off-by: Zhang Xianwei <[email protected]>
Diffstat (limited to 'capplets/appearance/theme-installer.c')
-rw-r--r--capplets/appearance/theme-installer.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/capplets/appearance/theme-installer.c b/capplets/appearance/theme-installer.c
index 2030325b..03d7b96d 100644
--- a/capplets/appearance/theme-installer.c
+++ b/capplets/appearance/theme-installer.c
@@ -290,7 +290,6 @@ invalid_theme_dialog (GtkWindow *parent,
static gboolean
mate_theme_install_real (GtkWindow *parent,
- gint filetype,
const gchar *tmp_dir,
const gchar *theme_name,
gboolean ask_user)
@@ -576,7 +575,6 @@ process_local_theme (GtkWindow *parent,
if (filetype == DIRECTORY) {
gchar *name = g_path_get_basename (path);
mate_theme_install_real (parent,
- filetype,
path,
name,
TRUE);
@@ -648,7 +646,6 @@ process_local_theme (GtkWindow *parent,
if (g_file_test (theme_dir, G_FILE_TEST_IS_DIR))
ok = mate_theme_install_real (parent,
- filetype,
theme_dir,
name,
n_themes == 1);