Mercurial > geeqie
diff src/pan-calendar.c @ 138:71e1ebee420e
replaced gchar* path with FileData *fd
| author | nadvornik |
|---|---|
| date | Tue, 11 Sep 2007 20:06:29 +0000 |
| parents | de64a683d5d0 |
| children | f6e307c7bad6 |
line wrap: on
line diff
--- a/src/pan-calendar.c Thu Aug 23 20:45:59 2007 +0000 +++ b/src/pan-calendar.c Tue Sep 11 20:06:29 2007 +0000 @@ -142,7 +142,7 @@ { PanItem *pimg; - pimg = pan_item_thumb_new(pw, file_data_new_simple(dot->fd->path), x, y); + pimg = pan_item_thumb_new(pw, file_data_ref(dot->fd), x, y); pan_item_set_key(pimg, "day_bubble"); pan_item_size_by_item(pbox, pimg, PAN_BOX_BORDER); @@ -204,12 +204,12 @@ if (pw->cache_list && pw->exif_date_enable) { - pw->cache_list = filelist_sort(pw->cache_list, SORT_NAME, TRUE); + pw->cache_list = pan_cache_sort(pw->cache_list, SORT_NAME, TRUE); list = filelist_sort(list, SORT_NAME, TRUE); pan_cache_sync_date(pw, list); } - pw->cache_list = filelist_sort(pw->cache_list, SORT_TIME, TRUE); + pw->cache_list = pan_cache_sort(pw->cache_list, SORT_TIME, TRUE); list = filelist_sort(list, SORT_TIME, TRUE); day_max = 0;
