comparison src/collect-io.h @ 1420:3a9fb1b52559

Use gboolean where applicable, for the sake of consistency.
author zas_
date Thu, 12 Mar 2009 21:06:37 +0000
parents 8b89e3ff286b
children 956aab097ea7
comparison
equal deleted inserted replaced
1419:c520cfd40aef 1420:3a9fb1b52559
19 COLLECTION_LOAD_APPEND = 1 << 0, 19 COLLECTION_LOAD_APPEND = 1 << 0,
20 COLLECTION_LOAD_FLUSH = 1 << 1, 20 COLLECTION_LOAD_FLUSH = 1 << 1,
21 COLLECTION_LOAD_GEOMETRY= 1 << 2, 21 COLLECTION_LOAD_GEOMETRY= 1 << 2,
22 } CollectionLoadFlags; 22 } CollectionLoadFlags;
23 23
24 gint collection_load(CollectionData *cd, const gchar *path, CollectionLoadFlags flags); 24 gboolean collection_load(CollectionData *cd, const gchar *path, CollectionLoadFlags flags);
25 25
26 gint collection_load_begin(CollectionData *cd, const gchar *path, CollectionLoadFlags flags); 26 gboolean collection_load_begin(CollectionData *cd, const gchar *path, CollectionLoadFlags flags);
27 void collection_load_stop(CollectionData *cd); 27 void collection_load_stop(CollectionData *cd);
28 28
29 void collection_load_thumb_idle(CollectionData *cd); 29 void collection_load_thumb_idle(CollectionData *cd);
30 30
31 gint collection_save(CollectionData *cd, const gchar *path); 31 gboolean collection_save(CollectionData *cd, const gchar *path);
32 32
33 gint collection_load_only_geometry(CollectionData *cd, const gchar *path); 33 gboolean collection_load_only_geometry(CollectionData *cd, const gchar *path);
34 34
35 35
36 /* these are used to update collections contained in user's collection 36 /* these are used to update collections contained in user's collection
37 * folder when moving or renaming files. 37 * folder when moving or renaming files.
38 * also handles: 38 * also handles: