diff options
Diffstat (limited to 'Gui/mplayer/gtk/pl.c')
-rw-r--r-- | Gui/mplayer/gtk/pl.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Gui/mplayer/gtk/pl.c b/Gui/mplayer/gtk/pl.c index 30fecbd9f0..f68352f32f 100644 --- a/Gui/mplayer/gtk/pl.c +++ b/Gui/mplayer/gtk/pl.c @@ -169,7 +169,7 @@ void ShowPlayList( void ) } gtk_clist_thaw( GTK_CLIST( CLSelected ) ); - gtk_widget_show( PlayList ); gtkVisible++; + gtk_widget_show( PlayList ); gtkIncVisible(); } void HidePlayList( void ) @@ -180,7 +180,7 @@ void HidePlayList( void ) if ( CLFileSelected ) free( CLFileSelected ); CLFileSelected=NULL; if ( old_path ) free( old_path ); old_path=strdup( current_path ); gtk_widget_hide( PlayList ); - gtk_widget_destroy( PlayList ); gtkVisible--; + gtk_widget_destroy( PlayList ); gtkDecVisible(); } static void plDestroy( GtkObject * object,gpointer user_data ) |