[MPlayer-cvslog] r38270 - trunk/gui/dialog/skinbrowser.c

ib subversion at mplayerhq.hu
Fri Feb 26 16:15:33 EET 2021


Author: ib
Date: Fri Feb 26 16:15:33 2021
New Revision: 38270

Log:
Remove unnecessary code.

The widget pointer will always be set to NULL by the connected
call to gtk_widget_destroyed() when the widget is destroyed.

Modified:
   trunk/gui/dialog/skinbrowser.c

Modified: trunk/gui/dialog/skinbrowser.c
==============================================================================
--- trunk/gui/dialog/skinbrowser.c	Fri Feb 26 16:11:52 2021	(r38269)
+++ trunk/gui/dialog/skinbrowser.c	Fri Feb 26 16:15:33 2021	(r38270)
@@ -161,8 +161,7 @@ static GtkWidget * CreateSkinBrowser( vo
 
 void ShowSkinBrowser( void )
 {
- if ( SkinBrowser ) gtkRaise( SkinBrowser );
-   else SkinBrowser=CreateSkinBrowser();
+  SkinBrowser = CreateSkinBrowser();
 }
 
 int FillSkinList( gchar * mdir )


More information about the MPlayer-cvslog mailing list