diff options
Diffstat (limited to 'src/config/preferences.c')
-rw-r--r-- | src/config/preferences.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/config/preferences.c b/src/config/preferences.c index 9381d014..636bd33d 100644 --- a/src/config/preferences.c +++ b/src/config/preferences.c @@ -632,6 +632,13 @@ 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); |