Skip to content
Permalink
Browse files

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>
  • Loading branch information...
zhangxianwei8 authored and raveit65 committed Feb 11, 2018
1 parent e76a646 commit 9e312c404d28250bd75782ba6f7a96ba9b707fb1
Showing with 0 additions and 3 deletions.
  1. +0 −3 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);

0 comments on commit 9e312c4

Please sign in to comment.
You can’t perform that action at this time.