[MPlayer-cvslog] r36128 - in trunk/gui/dialog: dialog.c dialog.h skinbrowser.c skinbrowser.h

ib subversion at mplayerhq.hu
Mon Apr 1 10:14:25 CEST 2013


Author: ib
Date: Mon Apr  1 10:14:25 2013
New Revision: 36128

Log:
Move function declaration where it belongs.

Additionally, rename function.

Modified:
   trunk/gui/dialog/dialog.c
   trunk/gui/dialog/dialog.h
   trunk/gui/dialog/skinbrowser.c
   trunk/gui/dialog/skinbrowser.h

Modified: trunk/gui/dialog/dialog.c
==============================================================================
--- trunk/gui/dialog/dialog.c	Mon Apr  1 10:06:52 2013	(r36127)
+++ trunk/gui/dialog/dialog.c	Mon Apr  1 10:14:25 2013	(r36128)
@@ -278,8 +278,8 @@ void gtkShow(int type, char *param)
         ShowSkinBrowser();
 
 //        gtk_clist_clear(GTK_CLIST(SkinList));
-        if (gtkFillSkinList(sbMPlayerPrefixDir) &&
-            gtkFillSkinList(sbMPlayerDirInHome)) {
+        if (FillSkinList(sbMPlayerPrefixDir) &&
+            FillSkinList(sbMPlayerDirInHome)) {
             gtkSelectInCList(SkinList, param);
             gtk_clist_sort(GTK_CLIST(SkinList));
             gtk_widget_show(SkinBrowser);

Modified: trunk/gui/dialog/dialog.h
==============================================================================
--- trunk/gui/dialog/dialog.h	Mon Apr  1 10:06:52 2013	(r36127)
+++ trunk/gui/dialog/dialog.h	Mon Apr  1 10:14:25 2013	(r36128)
@@ -41,7 +41,6 @@ extern guiIcon_t guiIcon;
 
 void gtkAddIcon(GtkWidget *window);
 void gtkEventHandling(void);
-int gtkFillSkinList(gchar *dir);
 void gtkInit(char *display_name);
 void gtkMessageBox(int type, const gchar *str);
 void gtkRaise(GtkWidget *window);

Modified: trunk/gui/dialog/skinbrowser.c
==============================================================================
--- trunk/gui/dialog/skinbrowser.c	Mon Apr  1 10:06:52 2013	(r36127)
+++ trunk/gui/dialog/skinbrowser.c	Mon Apr  1 10:14:25 2013	(r36128)
@@ -171,7 +171,7 @@ void ShowSkinBrowser( void )
    else SkinBrowser=CreateSkinBrowser();
 }
 
-int gtkFillSkinList( gchar * mdir )
+int FillSkinList( gchar * mdir )
 {
  gchar         * str[2];
  gchar         * tmp;

Modified: trunk/gui/dialog/skinbrowser.h
==============================================================================
--- trunk/gui/dialog/skinbrowser.h	Mon Apr  1 10:06:52 2013	(r36127)
+++ trunk/gui/dialog/skinbrowser.h	Mon Apr  1 10:14:25 2013	(r36128)
@@ -27,6 +27,7 @@ extern GtkWidget *SkinList;
 extern char *sbMPlayerDirInHome;
 extern char *sbMPlayerPrefixDir;
 
+int FillSkinList(gchar *dir);
 void ShowSkinBrowser( void );
 
 #endif /* MPLAYER_GUI_SKINBROWSER_H */


More information about the MPlayer-cvslog mailing list