1
0
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:
James Booth 2016-07-01 00:01:07 +01:00
parent 3bd3de036f
commit 31c66bf857
2 changed files with 2 additions and 4 deletions

View File

@ -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) {

View File

@ -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