talons

Fork of Claws Mail https://www.claws-mail
Log | Files | Refs | README | LICENSE

commit a016da5d96ce5642ba94216f56061d842bd23247
parent 968cfa882b517b23553ceb94037853e8de83abb0
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:
Msrc/plugins/python/python_prefs.c | 5-----
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);