diff src/typedefs.h @ 1227:2df7be0cd20b

optimized get_mark_func fixed reference counting bug
author nadvornik
date Fri, 26 Dec 2008 19:04:36 +0000
parents 3ff2aa99108b
children ca8ccf0c3e81
line wrap: on
line diff
--- a/src/typedefs.h	Fri Dec 26 18:54:07 2008 +0000
+++ b/src/typedefs.h	Fri Dec 26 19:04:36 2008 +0000
@@ -424,7 +424,11 @@
 	gint64 size;
 	time_t date;
 	mode_t mode; /* this is needed at least for notification in view_dir because it is preserved after the file/directory is deleted */
-	guint marks;
+	
+	guint marks; /* each bit represents one mark */
+	guint valid_marks; /* zero bit means that the corresponding mark needs to be reread */
+
+
 	GList *sidecar_files;
 	FileData *parent; /* parent file if this is a sidecar file, NULL otherwise */
 	FileDataChangeInfo *change; /* for rename, move ... */