changeset 2914:22c940e0d2dc trunk

Fix crash when invoked with a URL. Reported and initial patch by by Marc Butler <marc -at- adaptivecode.com>.
author William Pitcock <nenolod@atheme.org>
date Fri, 29 Jun 2007 01:50:14 -0500
parents 6a474a7954a0
children 8d35fb41459f
files src/audacious/main.c
diffstat 1 files changed, 0 insertions(+), 7 deletions(-) [+]
line wrap: on
line diff
--- a/src/audacious/main.c	Thu Jun 28 02:25:55 2007 -0500
+++ b/src/audacious/main.c	Fri Jun 29 01:50:14 2007 -0500
@@ -1232,14 +1232,7 @@
     mainwin_setup_menus();
 
     if (options.headless != 1)
-        GDK_THREADS_LEAVE();
-
-    handle_cmd_line_options(&options, FALSE);
-
-    if (options.headless != 1)
     {
-        GDK_THREADS_ENTER();
-
         read_volume(VOLSET_STARTUP);
         mainwin_set_info_text();