diff src/layout.c @ 1628:66bf394d162a

simplified the code around vd_select_row
author nadvornik
date Fri, 05 Jun 2009 21:52:37 +0000
parents 1a134b4dc88c
children 5ad450d67878
line wrap: on
line diff
--- a/src/layout.c	Thu Jun 04 21:07:03 2009 +0000
+++ b/src/layout.c	Fri Jun 05 21:52:37 2009 +0000
@@ -242,11 +242,11 @@
 	g_free(buf);
 }
 
-static void layout_vd_select_cb(ViewDir *vd, const gchar *path, gpointer data)
+static void layout_vd_select_cb(ViewDir *vd, FileData *fd, gpointer data)
 {
 	LayoutWindow *lw = data;
 
-	layout_set_path(lw, path);
+	layout_set_fd(lw, fd);
 }
 
 static void layout_path_entry_tab_append_cb(const gchar *path, gpointer data, gint n)