changeset 36034:e1d1d404ee9e

Move function declaration where it belongs. Additionally, rename function.
author ib
date Mon, 01 Apr 2013 08:14:25 +0000
parents 9b14dffbd894
children b1a21a9bc5d4
files gui/dialog/dialog.c gui/dialog/dialog.h gui/dialog/skinbrowser.c gui/dialog/skinbrowser.h
diffstat 4 files changed, 4 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/gui/dialog/dialog.c	Mon Apr 01 08:06:52 2013 +0000
+++ b/gui/dialog/dialog.c	Mon Apr 01 08:14:25 2013 +0000
@@ -278,8 +278,8 @@
         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);
--- a/gui/dialog/dialog.h	Mon Apr 01 08:06:52 2013 +0000
+++ b/gui/dialog/dialog.h	Mon Apr 01 08:14:25 2013 +0000
@@ -41,7 +41,6 @@
 
 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);
--- a/gui/dialog/skinbrowser.c	Mon Apr 01 08:06:52 2013 +0000
+++ b/gui/dialog/skinbrowser.c	Mon Apr 01 08:14:25 2013 +0000
@@ -171,7 +171,7 @@
    else SkinBrowser=CreateSkinBrowser();
 }
 
-int gtkFillSkinList( gchar * mdir )
+int FillSkinList( gchar * mdir )
 {
  gchar         * str[2];
  gchar         * tmp;
--- a/gui/dialog/skinbrowser.h	Mon Apr 01 08:06:52 2013 +0000
+++ b/gui/dialog/skinbrowser.h	Mon Apr 01 08:14:25 2013 +0000
@@ -27,6 +27,7 @@
 extern char *sbMPlayerDirInHome;
 extern char *sbMPlayerPrefixDir;
 
+int FillSkinList(gchar *dir);
 void ShowSkinBrowser( void );
 
 #endif /* MPLAYER_GUI_SKINBROWSER_H */