From ba7b6c2e96be57c24e11c64f4d6e5c97f025516b Mon Sep 17 00:00:00 2001 From: Michael Vetter Date: Wed, 29 Sep 2021 17:31:24 +0200 Subject: [PATCH] Clean sourcepath from profrc See 3b3a6b7a756e0f162d212249750524b7ce045cea for sourcepath removal. --- src/config/preferences.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/config/preferences.c b/src/config/preferences.c index 0d913a36..114455fd 100644 --- a/src/config/preferences.c +++ b/src/config/preferences.c @@ -214,6 +214,11 @@ _prefs_load(void) } } + // 0.12 started to remove `sourcepath` + if (g_key_file_has_key(prefs, PREF_GROUP_PLUGINS, "sourcepath", NULL)) { + g_key_file_remove_key(prefs, PREF_GROUP_PLUGINS, "sourcepath", NULL); + } + _save_prefs(); boolean_choice_ac = autocomplete_new();