Mercurial > geeqie
comparison src/dupe.h @ 138:71e1ebee420e
replaced gchar* path with FileData *fd
author | nadvornik |
---|---|
date | Tue, 11 Sep 2007 20:06:29 +0000 |
parents | d907d608745f |
children | f6e307c7bad6 |
comparison
equal
deleted
inserted
replaced
137:be3328a58875 | 138:71e1ebee420e |
---|---|
35 struct _DupeItem | 35 struct _DupeItem |
36 { | 36 { |
37 CollectionData *collection; /* NULL if from DupeWindow->files */ | 37 CollectionData *collection; /* NULL if from DupeWindow->files */ |
38 CollectInfo *info; | 38 CollectInfo *info; |
39 | 39 |
40 gchar *path; | 40 FileData *fd; |
41 const gchar *name; /* we store the pointer into path for the name, | |
42 * so that we only need to calculate this once, | |
43 * which significantly speeds up comparing names */ | |
44 gint64 size; | |
45 time_t date; | |
46 | 41 |
47 long checksum; | 42 long checksum; |
48 gchar *md5sum; | 43 gchar *md5sum; |
49 gint width; | 44 gint width; |
50 gint height; | 45 gint height; |
121 void dupe_window_close(DupeWindow *dw); | 116 void dupe_window_close(DupeWindow *dw); |
122 | 117 |
123 void dupe_window_add_collection(DupeWindow *dw, CollectionData *collection); | 118 void dupe_window_add_collection(DupeWindow *dw, CollectionData *collection); |
124 void dupe_window_add_files(DupeWindow *dw, GList *list, gint recurse); | 119 void dupe_window_add_files(DupeWindow *dw, GList *list, gint recurse); |
125 | 120 |
126 void dupe_maint_removed(const gchar *path); | 121 void dupe_maint_removed(FileData *fd); |
127 void dupe_maint_renamed(const gchar *source, const gchar *dest); | 122 void dupe_maint_renamed(FileData *fd); |
128 | 123 |
129 | 124 |
130 /* cell max with/height hack utility */ | 125 /* cell max with/height hack utility */ |
131 void cell_renderer_height_override(GtkCellRenderer *renderer); | 126 void cell_renderer_height_override(GtkCellRenderer *renderer); |
132 | 127 |