mirror of
https://github.com/profanity-im/profanity.git
synced 2024-12-04 14:46:46 -05:00
Move plugin theme and settings init
This commit is contained in:
parent
3bd3de036f
commit
31c66bf857
@ -68,6 +68,8 @@ plugins_init(void)
|
||||
plugins = g_hash_table_new_full(g_str_hash, g_str_equal, free, NULL);
|
||||
callbacks_init();
|
||||
autocompleters_init();
|
||||
plugin_themes_init();
|
||||
plugin_settings_init();
|
||||
|
||||
#ifdef HAVE_PYTHON
|
||||
python_env_init();
|
||||
@ -76,9 +78,6 @@ plugins_init(void)
|
||||
c_env_init();
|
||||
#endif
|
||||
|
||||
plugin_themes_init();
|
||||
plugin_settings_init();
|
||||
|
||||
// load plugins
|
||||
gchar **plugins_pref = prefs_get_plugins();
|
||||
if (plugins_pref) {
|
||||
|
@ -61,7 +61,6 @@ plugin_themes_init(void)
|
||||
g_chmod(fileloc->str, S_IRUSR | S_IWUSR);
|
||||
g_free(g_data);
|
||||
g_string_free(fileloc, TRUE);
|
||||
|
||||
}
|
||||
|
||||
void
|
||||
|
Loading…
Reference in New Issue
Block a user