about summary refs log tree commit diff stats
path: root/src
diff options
context:
space:
mode:
authorJames Booth <boothj5@gmail.com>2016-07-01 00:01:07 +0100
committerJames Booth <boothj5@gmail.com>2016-07-01 00:01:07 +0100
commit31c66bf8573c1d6c486b99808cc471ac6da79b97 (patch)
treef34534bb48fcfa3180cc04ff749a309f448aa803 /src
parent3bd3de036f68b107e9b599f44adcaf0842c708b0 (diff)
downloadprofani-tty-31c66bf8573c1d6c486b99808cc471ac6da79b97.tar.gz
Move plugin theme and settings init
Diffstat (limited to 'src')
-rw-r--r--src/plugins/plugins.c5
-rw-r--r--src/plugins/themes.c1
2 files changed, 2 insertions, 4 deletions
diff --git a/src/plugins/plugins.c b/src/plugins/plugins.c
index 2166729a..01b07e6f 100644
--- a/src/plugins/plugins.c
+++ b/src/plugins/plugins.c
@@ -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) {
diff --git a/src/plugins/themes.c b/src/plugins/themes.c
index f441af84..229bfd8f 100644
--- a/src/plugins/themes.c
+++ b/src/plugins/themes.c
@@ -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