From: Darren S. <ds...@us...> - 2006-10-02 21:09:00
|
Update of /cvsroot/xine/gnome-xine/src In directory sc8-pr-cvs10.sourceforge.net:/tmp/cvs-serv7769/src Modified Files: main.c Log Message: Allow --help & --version to work without :0.0 being set. Index: main.c =================================================================== RCS file: /cvsroot/xine/gnome-xine/src/main.c,v retrieving revision 1.172 retrieving revision 1.173 diff -u -r1.172 -r1.173 --- main.c 19 Jul 2006 01:51:47 -0000 1.172 +++ main.c 2 Oct 2006 21:08:57 -0000 1.173 @@ -319,8 +319,6 @@ g_thread_init (NULL); console_output_init (); gdk_threads_init (); - gtk_init(&argc, &argv); - gtk_window_set_auto_startup_notification (FALSE); /* * parse command line arguments @@ -435,6 +433,11 @@ if (optstate) return 0; + /* init gtk windowing */ + + gtk_init(&argc, &argv); + gtk_window_set_auto_startup_notification (FALSE); + /* * find out if gxine is already running, if so * just pass on the files to play |