changeset 36020:ecf86ae01e4e

Remove unused gtkClearList().
author ib
date Sun, 31 Mar 2013 17:36:04 +0000
parents d2d776c8e040
children bc1d68f48ca5
files gui/dialog/dialog.c gui/dialog/dialog.h
diffstat 2 files changed, 1 insertions(+), 7 deletions(-) [+]
line wrap: on
line diff
--- a/gui/dialog/dialog.c	Sun Mar 31 17:08:30 2013 +0000
+++ b/gui/dialog/dialog.c	Sun Mar 31 17:36:04 2013 +0000
@@ -188,11 +188,6 @@
     wsWindowIcon(gdk_display, GDK_WINDOW_XWINDOW(window->window), &guiIcon);
 }
 
-void gtkClearList(GtkWidget *list)
-{
-    gtk_clist_clear(GTK_CLIST(list));
-}
-
 int gtkFindCList(GtkWidget *list, char *item)
 {
     gint j;
@@ -301,7 +296,7 @@
     case evSkinBrowser:
         ShowSkinBrowser();
 
-//        gtkClearList( SkinList );
+//        gtk_clist_clear(GTK_CLIST(SkinList));
         if (gtkFillSkinList(sbMPlayerPrefixDir) &&
             gtkFillSkinList(sbMPlayerDirInHome)) {
             gtkSetDefaultToCList(SkinList, param);
--- a/gui/dialog/dialog.h	Sun Mar 31 17:08:30 2013 +0000
+++ b/gui/dialog/dialog.h	Sun Mar 31 17:36:04 2013 +0000
@@ -67,7 +67,6 @@
 void gtkAddIcon(GtkWidget *window);
 
 int gtkFillSkinList(gchar *dir);
-void gtkClearList(GtkWidget *list);
 void gtkSetDefaultToCList(GtkWidget *list, char *item);
 int gtkFindCList(GtkWidget *list, char *item);