Mercurial > geeqie
diff src/pan-item.c @ 783:d6a7fb4b8e7c
replaced directory path with FileData* dir_fd
author | nadvornik |
---|---|
date | Tue, 03 Jun 2008 19:44:19 +0000 |
parents | a1dcef8cd1ae |
children | 6ca2c5fd7b13 |
line wrap: on
line diff
--- a/src/pan-item.c Tue Jun 03 15:54:05 2008 +0000 +++ b/src/pan-item.c Tue Jun 03 19:44:19 2008 +0000 @@ -793,6 +793,14 @@ return g_list_reverse(list); } +GList *pan_item_find_by_fd(PanWindow *pw, PanItemType type, FileData *fd, + gint ignore_case, gint partial) +{ + if (!fd) return NULL; + return pan_item_find_by_path(pw, type, fd->path, ignore_case, partial); +} + + static PanItem *pan_item_find_by_coord_l(GList *list, PanItemType type, gint x, gint y, const gchar *key) { GList *work;