Mercurial > geeqie.yaz
comparison src/view_file.c @ 632:6e9413e92be5
Drop unused layout_list_get_path() and vf*_index_get_path().
author | zas_ |
---|---|
date | Sun, 11 May 2008 20:38:21 +0000 |
parents | 93c6dc4c537b |
children | fe700864cb5a |
comparison
equal
deleted
inserted
replaced
631:026f8f97361c | 632:6e9413e92be5 |
---|---|
49 } | 49 } |
50 | 50 |
51 return fd; | 51 return fd; |
52 } | 52 } |
53 | 53 |
54 gchar *vf_index_get_path(ViewFile *vf, gint row) | |
55 { | |
56 gchar *path = NULL; | |
57 | |
58 switch(vf->type) | |
59 { | |
60 case FILEVIEW_LIST: path = vflist_index_get_path(vf, row); break; | |
61 case FILEVIEW_ICON: path = vficon_index_get_path(vf, row); break; | |
62 } | |
63 | |
64 return path; | |
65 } | |
66 | |
67 gint vf_index_by_path(ViewFile *vf, const gchar *path) | 54 gint vf_index_by_path(ViewFile *vf, const gchar *path) |
68 { | 55 { |
69 gint index = -1; | 56 gint index = -1; |
70 | 57 |
71 switch(vf->type) | 58 switch(vf->type) |