summaryrefslogtreecommitdiffstats
path: root/src/db-artwork-parser.c
diff options
context:
space:
mode:
authorphantom_sf <phantom_sf@f01d2545-417e-4e96-918e-98f8d0dbbcb6>2008-08-09 17:00:34 +0000
committerphantom_sf <phantom_sf@f01d2545-417e-4e96-918e-98f8d0dbbcb6>2008-08-09 17:00:34 +0000
commitb5623e36a85a491318198bf8e5013b0eb018e748 (patch)
tree969140235d5b8138455c45c31870d9ad8f06e8f1 /src/db-artwork-parser.c
parent07e4589f9a6bec310b82fdf63705f5b138c268be (diff)
downloadlibgpod-b5623e36a85a491318198bf8e5013b0eb018e748.tar.gz
libgpod-b5623e36a85a491318198bf8e5013b0eb018e748.tar.xz
libgpod-b5623e36a85a491318198bf8e5013b0eb018e748.zip
2008-08-09 Paul Richardson <phantom_sf at users.sourceforge.net>
* Added eclipse project related files to svn:ignore * src/db-artwork-parser.c src/itdb.h src/itdb_photoalbum.c: Added to Itdb_PhotoAlbum, a reference to its parent Photo DB. When albums are constructed upon loading of the Photo DB, the reference is added as part of initialisation. git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@2096 f01d2545-417e-4e96-918e-98f8d0dbbcb6
Diffstat (limited to 'src/db-artwork-parser.c')
-rw-r--r--src/db-artwork-parser.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/db-artwork-parser.c b/src/db-artwork-parser.c
index 62cf4a1..3ee20d0 100644
--- a/src/db-artwork-parser.c
+++ b/src/db-artwork-parser.c
@@ -392,6 +392,7 @@ parse_mhba (DBParseContext *ctx, GError *error)
g_free (mhia_ctx);
photodb = db_get_photodb (ctx->db);
g_return_val_if_fail (photodb, -1);
+ album->photodb = photodb;
photodb->photoalbums = g_list_append (photodb->photoalbums,
album);
return 0;