diff options
Diffstat (limited to 'Gui/mplayer/gtk/sb.c')
-rw-r--r-- | Gui/mplayer/gtk/sb.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Gui/mplayer/gtk/sb.c b/Gui/mplayer/gtk/sb.c index ff5d936ce1..cf76150ebc 100644 --- a/Gui/mplayer/gtk/sb.c +++ b/Gui/mplayer/gtk/sb.c @@ -29,11 +29,13 @@ void ShowSkinBrowser( void ) { if ( gtkVSkinBrowser ) gtkActive( SkinBrowser ); else SkinBrowser=create_SkinBrowser(); + gtkVisible++; } void HideSkinBrowser( void ) { - gtkVSkinBrowser=0; + if ( !gtkVSkinBrowser ) return; + gtkVSkinBrowser=0; gtkVisible--; gtk_widget_destroy( SkinBrowser ); } |