Mercurial > mplayer.hg
comparison gui/win32/interface.c @ 34166:2487e0b0eaaf
Remove unused code from the Win32 GUI.
Remove function gtkMessageBox().
author | ib |
---|---|
date | Tue, 25 Oct 2011 13:59:33 +0000 |
parents | 98f6d11e2ff3 |
children | ecb8df177459 |
comparison
equal
deleted
inserted
replaced
34165:b52b47822e16 | 34166:2487e0b0eaaf |
---|---|
808 pt_iter_destroy(&my_pt_iter); | 808 pt_iter_destroy(&my_pt_iter); |
809 } | 809 } |
810 return result; | 810 return result; |
811 } | 811 } |
812 | 812 |
813 static inline void gtkMessageBox(int type, const char *str) | |
814 { | |
815 if (type & GTK_MB_FATAL) | |
816 MessageBox(NULL, str, "MPlayer GUI for Windows Error", MB_OK | MB_ICONERROR); | |
817 | |
818 fprintf(stderr, "[GUI] MessageBox: %s\n", str); | |
819 fflush(stderr); | |
820 } | |
821 | |
822 static int update_subwindow(void) | 813 static int update_subwindow(void) |
823 { | 814 { |
824 int x,y; | 815 int x,y; |
825 RECT rd; | 816 RECT rd; |
826 WINDOWPOS wp; | 817 WINDOWPOS wp; |