summaryrefslogtreecommitdiff
path: root/src/job-manager.c
diff options
context:
space:
mode:
authorTomas Bzatek <tbzatek@users.sourceforge.net>2010-10-08 17:02:47 +0200
committerTomas Bzatek <tbzatek@users.sourceforge.net>2010-10-08 17:02:47 +0200
commit10c6b1f0978710cf5a9f309b6fdcaef922f9b07f (patch)
tree00679d479d9554f91f5d3beb4f4e709705ba55df /src/job-manager.c
parent5fc53d25a171fbd85ee09c9fc771580350d689c8 (diff)
downloadcataract-10c6b1f0978710cf5a9f309b6fdcaef922f9b07f.tar.xz
Add basic Atom feed writer
Diffstat (limited to 'src/job-manager.c')
-rw-r--r--src/job-manager.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/job-manager.c b/src/job-manager.c
index ecfe5b6..87b3425 100644
--- a/src/job-manager.c
+++ b/src/job-manager.c
@@ -226,14 +226,14 @@ build_tree (TGallerySetup *setup,
/* Read the index file and fill items array */
items = g_malloc0 (sizeof (TAlbum));
+ items->parent_index = parent_index;
+ items->parent_item_index = parent_item_index;
if (! parse_album_xml (idx_file, items)) {
log_error ("error reading index file '%s'\n", idx_file);
g_free (idx_file);
free_album_data (items);
return FALSE;
}
- items->parent_index = parent_index;
- items->parent_item_index = parent_item_index;
/* Check if update is necessary */
dst_album_file = g_strconcat (dst_dir, "/", setup->index_file_name, NULL);