diff src/pan-calendar.c @ 783:d6a7fb4b8e7c

replaced directory path with FileData* dir_fd
author nadvornik
date Tue, 03 Jun 2008 19:44:19 +0000
parents 8268cbe682f1
children 4fe8f9656107
line wrap: on
line diff
--- a/src/pan-calendar.c	Tue Jun 03 15:54:05 2008 +0000
+++ b/src/pan-calendar.c	Tue Jun 03 19:44:19 2008 +0000
@@ -186,7 +186,7 @@
 	pan_layout_resize(pw);
 }
 
-void pan_calendar_compute(PanWindow *pw, const gchar *path, gint *width, gint *height)
+void pan_calendar_compute(PanWindow *pw, FileData *dir_fd, gint *width, gint *height)
 {
 	GList *list;
 	GList *work;
@@ -202,7 +202,7 @@
 	gint end_year = 0;
 	gint end_month = 0;
 
-	list = pan_list_tree(path, SORT_NONE, TRUE, pw->ignore_symlinks);
+	list = pan_list_tree(dir_fd, SORT_NONE, TRUE, pw->ignore_symlinks);
 
 	if (pw->cache_list && pw->exif_date_enable)
 		{