diff options
author | Zhang Xianwei <[email protected]> | 2018-02-11 17:16:22 +0800 |
---|---|---|
committer | raveit65 <[email protected]> | 2018-03-23 18:14:18 +0100 |
commit | 422530834108da01b74979b192f6c1b713d66e0e (patch) | |
tree | d558b35cb53a1ba82b38b407831d11ea219a9cf9 /capplets/appearance | |
parent | 9100c01c1a61521c599ccc032a2c9b4d39662ae4 (diff) | |
download | mate-control-center-422530834108da01b74979b192f6c1b713d66e0e.tar.bz2 mate-control-center-422530834108da01b74979b192f6c1b713d66e0e.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')
-rw-r--r-- | capplets/appearance/theme-installer.c | 3 |
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); |