diff src/view_dir_list.c @ 1626:94e4a47ccaff

simplified the code around vd_select_row
author nadvornik
date Fri, 05 Jun 2009 21:52:37 +0000
parents 626adbb26387
children 9b5eb41f4311
line wrap: on
line diff
--- a/src/view_dir_list.c	Thu Jun 04 16:07:16 2009 +0000
+++ b/src/view_dir_list.c	Fri Jun 05 21:52:37 2009 +0000
@@ -117,18 +117,6 @@
  *-----------------------------------------------------------------------------
  */
 
-void vdlist_select_row(ViewDir *vd, FileData *fd)
-{
-	if (fd && vd->select_func)
-		{
-		gchar *path;
-
-		path = g_strdup(fd->path);
-		vd->select_func(vd, path, vd->select_data);
-		g_free(path);
-		}
-}
-
 const gchar *vdlist_row_get_path(ViewDir *vd, gint row)
 {
 	FileData *fd;