diff options
Diffstat (limited to 'src/main.c')
-rw-r--r-- | src/main.c | 9 |
1 files changed, 5 insertions, 4 deletions
@@ -22,11 +22,11 @@ */ -#include <config.h> #include <locale.h> #include <stdlib.h> #include <gtk/gtk.h> +#include <config.h> #include <i18n.h> #include "editor.h" @@ -39,6 +39,7 @@ #include "glibext/delayed.h" #include "glibext/gbinportion.h" #include "gtkext/support.h" +#include "gtkext/theme.h" #include "plugins/pglist.h" #include "../revision.h" @@ -114,6 +115,9 @@ int main(int argc, char **argv) setlocale (LC_ALL, ""); gtk_init(&argc, &argv); + if (!load_extra_gtk_theme()) + return EXIT_FAILURE; + if (!load_all_basic_components()) return EXIT_FAILURE; @@ -130,7 +134,6 @@ int main(int argc, char **argv) /* Initialisation du programme */ init_all_processors(); init_all_formats(); - init_binary_portion_colors(); /* Création de l'interface */ @@ -190,8 +193,6 @@ int main(int argc, char **argv) exit_all_plugins(); - exit_binary_portion_colors(); - unload_all_basic_components(); return EXIT_SUCCESS; |