changeset 34166:2487e0b0eaaf

Remove unused code from the Win32 GUI. Remove function gtkMessageBox().
author ib
date Tue, 25 Oct 2011 13:59:33 +0000
parents b52b47822e16
children 131d0e04a50b
files gui/win32/interface.c
diffstat 1 files changed, 0 insertions(+), 9 deletions(-) [+]
line wrap: on
line diff
--- a/gui/win32/interface.c	Tue Oct 25 13:55:48 2011 +0000
+++ b/gui/win32/interface.c	Tue Oct 25 13:59:33 2011 +0000
@@ -810,15 +810,6 @@
     return result;
 }
 
-static inline void gtkMessageBox(int type, const char *str)
-{
-    if (type & GTK_MB_FATAL)
-        MessageBox(NULL, str, "MPlayer GUI for Windows Error", MB_OK | MB_ICONERROR);
-
-    fprintf(stderr, "[GUI] MessageBox: %s\n", str);
-    fflush(stderr);
-}
-
 static int update_subwindow(void)
 {
     int x,y;