diff options
author | James Booth <boothj5@gmail.com> | 2016-07-01 00:01:07 +0100 |
---|---|---|
committer | James Booth <boothj5@gmail.com> | 2016-07-01 00:01:07 +0100 |
commit | 31c66bf8573c1d6c486b99808cc471ac6da79b97 (patch) | |
tree | f34534bb48fcfa3180cc04ff749a309f448aa803 | |
parent | 3bd3de036f68b107e9b599f44adcaf0842c708b0 (diff) | |
download | profani-tty-31c66bf8573c1d6c486b99808cc471ac6da79b97.tar.gz |
Move plugin theme and settings init
-rw-r--r-- | src/plugins/plugins.c | 5 | ||||
-rw-r--r-- | src/plugins/themes.c | 1 |
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 |