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

Remove guiExit(). Integrate it into mplayer().
author ib
date Sat, 09 Jul 2011 10:23:47 +0000
parents e1539e14d60f
children e1bec41397bb
line wrap: on
line diff
--- a/gui/ui/actions.c	Fri Jul 08 21:57:18 2011 +0000
+++ b/gui/ui/actions.c	Sat Jul 09 10:23:47 2011 +0000
@@ -176,7 +176,7 @@
 
         if (!menuDrawBuffer) {
             gmp_msg(MSGT_GPLAYER, MSGL_FATAL, MSGTR_NEMDB);
-            guiExit(EXIT_ERROR);
+            mplayer(MPLAYER_EXIT_GUI, EXIT_ERROR, 0);
         }
 
         wsResizeWindow(&guiApp.menuWindow, guiApp.menu.width, guiApp.menu.height);
@@ -220,7 +220,7 @@
 
     if (!mainDrawBuffer) {
         gmp_msg(MSGT_GPLAYER, MSGL_FATAL, MSGTR_NEMDB);
-        guiExit(EXIT_ERROR);
+        mplayer(MPLAYER_EXIT_GUI, EXIT_ERROR, 0);
     }
 
     wsDestroyWindow(&guiApp.mainWindow);