Mercurial > mplayer.hg
comparison Gui/mplayer/psignal.c @ 3596:df69220a8d49
some warning kill
author | pontscho |
---|---|
date | Tue, 18 Dec 2001 23:14:29 +0000 |
parents | 728258be2e86 |
children | b013d01d9968 |
comparison
equal
deleted
inserted
replaced
3595:728258be2e86 | 3596:df69220a8d49 |
---|---|
4 #include <string.h> | 4 #include <string.h> |
5 #include <signal.h> | 5 #include <signal.h> |
6 #include <unistd.h> | 6 #include <unistd.h> |
7 | 7 |
8 #include "widgets.h" | 8 #include "widgets.h" |
9 #include "gtk/menu.h" | |
9 #include "play.h" | 10 #include "play.h" |
10 #include "gtk/fs.h" | 11 #include "gtk/fs.h" |
11 | 12 |
12 #include "../app.h" | 13 #include "../app.h" |
14 | |
15 #include "../../config.h" | |
16 #include "../../help_mp.h" | |
17 #include "../../libvo/x11_common.h" | |
18 #include "../../libmpdemux/stream.h" | |
13 | 19 |
14 #include "../skin/skin.h" | 20 #include "../skin/skin.h" |
15 #include "../wm/ws.h" | 21 #include "../wm/ws.h" |
16 #include "../error.h" | 22 #include "../error.h" |
17 | |
18 #include "../../config.h" | |
19 #include "../../libvo/x11_common.h" | |
20 #include "../../libmpdemux/stream.h" | |
21 | 23 |
22 #include "./mplayer.h" | 24 #include "./mplayer.h" |
23 | 25 |
24 #define gtkShow( w ) gtkShMem->vs.window=w; gtkSendMessage( evShowWindow ); | 26 #define gtkShow( w ) gtkShMem->vs.window=w; gtkSendMessage( evShowWindow ); |
25 | 27 |
104 case evLoadSubtitle: | 106 case evLoadSubtitle: |
105 ShowFileSelect( fsSubtitleSelector ); | 107 ShowFileSelect( fsSubtitleSelector ); |
106 // gtkShow( evPlay ); | 108 // gtkShow( evPlay ); |
107 break; | 109 break; |
108 case evMessageBox: | 110 case evMessageBox: |
109 gtk_label_set_text( gtkMessageBoxText,(char *)gtkShMem->mb.str ); | 111 gtk_label_set_text( GTK_LABEL( gtkMessageBoxText ),gtkShMem->mb.str ); |
110 if( gtkVisibleMessageBox ) gtk_widget_hide( MessageBox ); | 112 if( gtkVisibleMessageBox ) gtk_widget_hide( MessageBox ); |
111 switch( gtkShMem->mb.type) | 113 switch( gtkShMem->mb.type) |
112 { | 114 { |
113 case GTK_MB_FATAL: | 115 case GTK_MB_FATAL: |
114 gtk_window_set_title( GTK_WINDOW( MessageBox ),MSGTR_MSGBOX_LABEL_FatalError ); | 116 gtk_window_set_title( GTK_WINDOW( MessageBox ),MSGTR_MSGBOX_LABEL_FatalError ); |