diff gui/ui/sub.c @ 33768:cee9987bc81d

Remove guiExit(). Integrate it into mplayer().
author ib
date Sat, 09 Jul 2011 10:23:47 +0000
parents 520fb0f7544c
children afede91f9d5f
line wrap: on
line diff
--- a/gui/ui/sub.c	Fri Jul 08 21:57:18 2011 +0000
+++ b/gui/ui/sub.c	Sat Jul 09 10:23:47 2011 +0000
@@ -35,7 +35,7 @@
 
 void uiSubDraw( void )
 {
- if ( guiApp.subWindow.State == wsWindowClosed ) guiExit( EXIT_QUIT );
+ if ( guiApp.subWindow.State == wsWindowClosed ) mplayer( MPLAYER_EXIT_GUI, EXIT_QUIT, 0 );
 
  if ( guiApp.subWindow.State == wsWindowFocusIn ) subVisible++;
  if ( guiApp.subWindow.State == wsWindowFocusOut && metacity_hack != 3 ) subVisible--;