summaryrefslogtreecommitdiff
path: root/src/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/main.c b/src/main.c
index 18637ff..ca7be49 100644
--- a/src/main.c
+++ b/src/main.c
@@ -100,14 +100,12 @@ int main(int argc, char **argv)
const char *filename; /* Chemin du dernier projet */
GStudyProject *project; /* Nouveau projet courant */
-
if (argc > 1 && strcmp(argv[1], "--version") == 0)
{
show_version();
return EXIT_SUCCESS;
}
-
config = load_configuration("main", main_params, MPT_COUNT);
set_main_configuration(config);
@@ -120,6 +118,7 @@ int main(int argc, char **argv)
gdk_threads_enter();
/* Initialisation de GTK */
+ g_set_prgname("Chrysalide");
setlocale (LC_ALL, "");
gtk_init(&argc, &argv);