1
0
mirror of https://github.com/profanity-im/profanity.git synced 2024-12-04 14:46:46 -05:00

Clean sourcepath from profrc

See 3b3a6b7a75 for sourcepath removal.
This commit is contained in:
Michael Vetter 2021-09-29 17:31:24 +02:00
parent 3b3a6b7a75
commit ba7b6c2e96

View File

@ -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(); _save_prefs();
boolean_choice_ac = autocomplete_new(); boolean_choice_ac = autocomplete_new();