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

ib subversion at mplayerhq.hu
Sun Mar 31 19:38:13 CEST 2013


Author: ib
Date: Sun Mar 31 19:38:13 2013
New Revision: 36115

Log:
Make gtkSetDefaultToCList() static.

It only has file scope.

Additionally, rename it gtkSelectInCList().

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

Modified: trunk/gui/dialog/dialog.c
==============================================================================
--- trunk/gui/dialog/dialog.c	Sun Mar 31 19:36:04 2013	(r36114)
+++ trunk/gui/dialog/dialog.c	Sun Mar 31 19:38:13 2013	(r36115)
@@ -203,7 +203,7 @@ int gtkFindCList(GtkWidget *list, char *
     return -1;
 }
 
-void gtkSetDefaultToCList(GtkWidget *list, char *item)
+static void gtkSelectInCList(GtkWidget *list, char *item)
 {
     gint i;
 
@@ -299,7 +299,7 @@ void gtkShow(int type, char *param)
 //        gtk_clist_clear(GTK_CLIST(SkinList));
         if (gtkFillSkinList(sbMPlayerPrefixDir) &&
             gtkFillSkinList(sbMPlayerDirInHome)) {
-            gtkSetDefaultToCList(SkinList, param);
+            gtkSelectInCList(SkinList, param);
             gtk_clist_sort(GTK_CLIST(SkinList));
             gtk_widget_show(SkinBrowser);
             gtkSetLayer(SkinBrowser);

Modified: trunk/gui/dialog/dialog.h
==============================================================================
--- trunk/gui/dialog/dialog.h	Sun Mar 31 19:36:04 2013	(r36114)
+++ trunk/gui/dialog/dialog.h	Sun Mar 31 19:38:13 2013	(r36115)
@@ -67,7 +67,6 @@ void gtkInit(char *display_name);
 void gtkAddIcon(GtkWidget *window);
 
 int gtkFillSkinList(gchar *dir);
-void gtkSetDefaultToCList(GtkWidget *list, char *item);
 int gtkFindCList(GtkWidget *list, char *item);
 
 void gtkEventHandling(void);


More information about the MPlayer-cvslog mailing list