diff options
Diffstat (limited to 'src/main.c')
-rw-r--r-- | src/main.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -44,13 +44,13 @@ main (gint argc, gchar **argv) { #endif bindtextdomain(GETTEXT_PACKAGE, GNOMELOCALEDIR); + bind_textdomain_codeset(GETTEXT_PACKAGE, "UTF-8"); textdomain(GETTEXT_PACKAGE); - results = zenity_option_parse (argc, argv); - - bind_textdomain_codeset(GETTEXT_PACKAGE, "UTF-8"); gtk_init (&argc, &argv); + results = zenity_option_parse (argc, argv); + switch (results->mode) { case MODE_CALENDAR: zenity_calendar (results->data, results->calendar_data); |