From 9e312c404d28250bd75782ba6f7a96ba9b707fb1 Mon Sep 17 00:00:00 2001 From: Zhang Xianwei Date: Sun, 11 Feb 2018 17:16:22 +0800 Subject: Remove useless parameter in mate_theme_install_real filetype is not used in mate_theme_install_real, remove it. Signed-off-by: Zhang Xianwei --- capplets/appearance/theme-installer.c | 3 --- 1 file changed, 3 deletions(-) (limited to 'capplets') 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); -- cgit v1.2.1