about summary refs log tree commit diff stats
path: root/src/config
diff options
context:
space:
mode:
Diffstat (limited to 'src/config')
-rw-r--r--src/config/preferences.c7
-rw-r--r--src/config/preferences.h1
2 files changed, 0 insertions, 8 deletions
diff --git a/src/config/preferences.c b/src/config/preferences.c
index 636bd33d..9381d014 100644
--- a/src/config/preferences.c
+++ b/src/config/preferences.c
@@ -632,13 +632,6 @@ prefs_add_plugin(const char *const name)
 }
 
 void
-prefs_remove_plugin(const char *const name)
-{
-    conf_string_list_remove(prefs, "plugins", "load", name);
-    _save_prefs();
-}
-
-void
 prefs_free_plugins(gchar **plugins)
 {
     g_strfreev(plugins);
diff --git a/src/config/preferences.h b/src/config/preferences.h
index 3111f81e..a7b84dfe 100644
--- a/src/config/preferences.h
+++ b/src/config/preferences.h
@@ -191,7 +191,6 @@ void prefs_set_autoxa_time(gint value);
 gchar** prefs_get_plugins(void);
 void prefs_free_plugins(gchar **plugins);
 void prefs_add_plugin(const char *const name);
-void prefs_remove_plugin(const char *const name);
 
 char prefs_get_otr_char(void);
 void prefs_set_otr_char(char ch);