Mercurial > mplayer.hg
diff Gui/mplayer/gtk/mb.c @ 6854:ded48a755830
gtk dialog bug fix
author | pontscho |
---|---|
date | Tue, 30 Jul 2002 23:09:24 +0000 |
parents | 77980ab4e296 |
children | 138a7ff52a26 |
line wrap: on
line diff
--- a/Gui/mplayer/gtk/mb.c Tue Jul 30 19:19:16 2002 +0000 +++ b/Gui/mplayer/gtk/mb.c Tue Jul 30 23:09:24 2002 +0000 @@ -20,11 +20,11 @@ else MessageBox=create_MessageBox( 0 ); gtkSetLayer( MessageBox ); if ( strlen( msg ) < 20 ) gtk_widget_set_usize( MessageBox,196,-1 ); - gtkVisible++; + gtkIncVisible(); } static void on_Ok_released( GtkButton * button,gpointer user_data ) -{ gtkVMessageBox=0; gtk_widget_hide( MessageBox ); gtk_widget_destroy( MessageBox ); gtkVisible--; } +{ gtkVMessageBox=0; gtk_widget_hide( MessageBox ); gtk_widget_destroy( MessageBox ); gtkDecVisible(); } static void on_MessageBox_show( GtkButton * button,gpointer user_data ) { gtkVMessageBox=(int)user_data; }