commit 4aabbe7475d7666ff48ae196876bd42d16845e83
parent 6fb12de214f37b313ac899aa1918d2285e6735be
Author: Andrej Kacian <ticho@claws-mail.org>
Date: Sat, 12 Jan 2019 12:53:04 +0100
Remove an unused path variable in python plugin
The plugin has no preferences page, so this is not needed.
Diffstat:
1 file changed, 0 insertions(+), 5 deletions(-)
diff --git a/src/plugins/python/python_prefs.c b/src/plugins/python/python_prefs.c
@@ -48,13 +48,8 @@ static PrefParam prefs[] = {
void python_prefs_init(void)
{
- static gchar *path[3];
gchar *rcpath;
- path[0] = _("Plugins");
- path[1] = "Python";
- path[2] = NULL;
-
prefs_set_default(prefs);
rcpath = g_strconcat(get_rc_dir(), G_DIR_SEPARATOR_S, COMMON_RC, NULL);
prefs_read_config(prefs, PREFS_BLOCK_NAME, rcpath, NULL);