[MPlayer-cvslog] r38560 - in trunk/gui/dialog: skinbrowser.c skinbrowser.h
ib
subversion at mplayerhq.hu
Fri Jun 14 13:18:14 EEST 2024
Author: ib
Date: Fri Jun 14 13:18:14 2024
New Revision: 38560
Log:
Remove the pointless return value of FillSkinList().
It always returns True.
Modified:
trunk/gui/dialog/skinbrowser.c
trunk/gui/dialog/skinbrowser.h
Modified: trunk/gui/dialog/skinbrowser.c
==============================================================================
--- trunk/gui/dialog/skinbrowser.c Fri Jun 14 13:16:45 2024 (r38559)
+++ trunk/gui/dialog/skinbrowser.c Fri Jun 14 13:18:14 2024 (r38560)
@@ -159,8 +159,8 @@ void ShowSkinBrowser( void )
prevSelected = skinName;
gtk_widget_show(SkinBrowser);
- if (FillSkinList(sbSkinDirInHome) &&
- FillSkinList(sbSkinDirInData))
+ FillSkinList(sbSkinDirInHome);
+ FillSkinList(sbSkinDirInData);
{
gint i;
@@ -171,7 +171,7 @@ void ShowSkinBrowser( void )
}
}
-int FillSkinList( gchar * mdir )
+void FillSkinList (gchar *mdir)
{
gchar * str[1];
gchar * tmp;
@@ -197,5 +197,4 @@ int FillSkinList( gchar * mdir )
}
}
globfree( &gg );
- return True;
}
Modified: trunk/gui/dialog/skinbrowser.h
==============================================================================
--- trunk/gui/dialog/skinbrowser.h Fri Jun 14 13:16:45 2024 (r38559)
+++ trunk/gui/dialog/skinbrowser.h Fri Jun 14 13:18:14 2024 (r38560)
@@ -23,7 +23,7 @@
extern GtkWidget * SkinBrowser;
-int FillSkinList(gchar *dir);
+void FillSkinList(gchar *dir);
void ShowSkinBrowser( void );
#endif /* MPLAYER_GUI_SKINBROWSER_H */
More information about the MPlayer-cvslog
mailing list