Skip to content

Commit 9e312c4

Browse files
zhangxianwei8raveit65
authored andcommitted
Remove useless parameter in mate_theme_install_real
filetype is not used in mate_theme_install_real, remove it. Signed-off-by: Zhang Xianwei <zhang.xianwei8@zte.com.cn>
1 parent e76a646 commit 9e312c4

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

capplets/appearance/theme-installer.c

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -290,7 +290,6 @@ invalid_theme_dialog (GtkWindow *parent,
290290

291291
static gboolean
292292
mate_theme_install_real (GtkWindow *parent,
293-
gint filetype,
294293
const gchar *tmp_dir,
295294
const gchar *theme_name,
296295
gboolean ask_user)
@@ -576,7 +575,6 @@ process_local_theme (GtkWindow *parent,
576575
if (filetype == DIRECTORY) {
577576
gchar *name = g_path_get_basename (path);
578577
mate_theme_install_real (parent,
579-
filetype,
580578
path,
581579
name,
582580
TRUE);
@@ -648,7 +646,6 @@ process_local_theme (GtkWindow *parent,
648646

649647
if (g_file_test (theme_dir, G_FILE_TEST_IS_DIR))
650648
ok = mate_theme_install_real (parent,
651-
filetype,
652649
theme_dir,
653650
name,
654651
n_themes == 1);

0 commit comments

Comments
 (0)