diff --git a/source/ubinstall-gtk.c b/source/ubinstall-gtk.c index 0b3da5d..593c093 100644 --- a/source/ubinstall-gtk.c +++ b/source/ubinstall-gtk.c @@ -966,6 +966,8 @@ int main(int argc, char *argv[]){ yon_ubl_connect_config((_template_config*)&main_config); textdomain(LocaleName); config_init(); + gtk_init(&argc,&argv); + yon_ubl_window_init(TITLE_LABEL,"",LocaleName,CssPath,LocaleName,version_application,WIKI_LINK); yon_ubl_setup_arguments(argc,argv,&unfound,&size,ADDITIONAL_ARGS); if (size) { int option_index = 0; @@ -989,8 +991,6 @@ int main(int argc, char *argv[]){ } } } - gtk_init(&argc,&argv); - yon_ubl_window_init(TITLE_LABEL,"",LocaleName,CssPath,LocaleName,version_application,WIKI_LINK); main_window *widgets = NULL; GtkCssProvider *css=gtk_css_provider_new(); gtk_css_provider_load_from_resource(css,CssPath);