changeset 4365:5c40eeb8a8a9

fix to stop parsing twice
author Ivan N. Zlatev <contact@i-nz.net>
date Tue, 25 Mar 2008 17:44:17 +0100
parents 695e1c91be36
children 1f900d7b737b
files src/audacious/main.c
diffstat 1 files changed, 0 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/audacious/main.c	Mon Mar 24 17:02:26 2008 +0100
+++ b/src/audacious/main.c	Tue Mar 25 17:44:17 2008 +0100
@@ -378,7 +378,6 @@
     g_option_context_add_main_entries(context, cmd_entries, PACKAGE_NAME);
     g_option_context_add_group(context, gtk_get_option_group(FALSE));
     g_option_context_add_group(context, egg_sm_client_get_option_group());
-    g_option_context_parse(context, argc, argv, &error);
     if (!g_option_context_parse(context, argc, argv, &error))
         /* checking for MacOS X -psn_0_* errors*/
         if (error->message && !g_strrstr(error->message,"-psn_0_"))