about summary refs log tree commit diff stats
path: root/src/config
diff options
context:
space:
mode:
authorJames Booth <boothj5@gmail.com>2016-06-30 22:37:52 +0100
committerJames Booth <boothj5@gmail.com>2016-06-30 22:37:52 +0100
commit29eb843d56c2c52e9ae13144c93f094821ecff06 (patch)
treeb723d9527204c9f5849fedc2e3f2926f0cf86902 /src/config
parenta01eb5d08e1b39d60a6f8fc26e5a87ceb92ec18f (diff)
downloadprofani-tty-29eb843d56c2c52e9ae13144c93f094821ecff06.tar.gz
Revert "WIP - Unload plugin commands"
This reverts commit a01eb5d08e1b39d60a6f8fc26e5a87ceb92ec18f.
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);