aboutsummaryrefslogtreecommitdiffhomepage
path: root/Gui/mplayer/widgets.c
diff options
context:
space:
mode:
Diffstat (limited to 'Gui/mplayer/widgets.c')
-rw-r--r--Gui/mplayer/widgets.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/Gui/mplayer/widgets.c b/Gui/mplayer/widgets.c
index e945761356..1629265a91 100644
--- a/Gui/mplayer/widgets.c
+++ b/Gui/mplayer/widgets.c
@@ -110,6 +110,7 @@ void gtkDone( void ){
void gtkMessageBox( int type,gchar * str )
{
+ if ( !gtkIsOk ) return;
gtkShMem->mb.type=type;
strcpy( gtkShMem->mb.str,str );
gtkSendMessage( evMessageBox );