changeset 3596:df69220a8d49

some warning kill
author pontscho
date Tue, 18 Dec 2001 23:14:29 +0000
parents 728258be2e86
children fe1283137353
files Gui/mplayer/psignal.c
diffstat 1 files changed, 7 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/Gui/mplayer/psignal.c	Tue Dec 18 22:59:04 2001 +0000
+++ b/Gui/mplayer/psignal.c	Tue Dec 18 23:14:29 2001 +0000
@@ -6,19 +6,21 @@
 #include <unistd.h>
 
 #include "widgets.h"
+#include "gtk/menu.h"
 #include "play.h"
 #include "gtk/fs.h"
 
 #include "../app.h"
 
+#include "../../config.h"
+#include "../../help_mp.h"
+#include "../../libvo/x11_common.h"
+#include "../../libmpdemux/stream.h"
+
 #include "../skin/skin.h"
 #include "../wm/ws.h"
 #include "../error.h"
 
-#include "../../config.h"
-#include "../../libvo/x11_common.h"
-#include "../../libmpdemux/stream.h"
-
 #include "./mplayer.h"
 
 #define gtkShow( w ) gtkShMem->vs.window=w; gtkSendMessage( evShowWindow );
@@ -106,7 +108,7 @@
 //	gtkShow( evPlay );
         break;
    case evMessageBox:
-        gtk_label_set_text( gtkMessageBoxText,(char *)gtkShMem->mb.str );
+        gtk_label_set_text( GTK_LABEL( gtkMessageBoxText ),gtkShMem->mb.str );
         if( gtkVisibleMessageBox ) gtk_widget_hide( MessageBox ); 
         switch( gtkShMem->mb.type)
          {