[gnome-online-miners] flickr: Fix hierarchy creation
- From: Debarshi Ray <debarshir src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-online-miners] flickr: Fix hierarchy creation
- Date: Fri, 19 Jul 2013 12:34:04 +0000 (UTC)
commit 422b02fcd2d58a9cd59171470e07253839495220
Author: Marek Chalupa <mchalupa redhat com>
Date: Thu Jul 4 08:44:20 2013 +0200
flickr: Fix hierarchy creation
Root containers don't have a parent, so only skip non-containers.
https://bugzilla.gnome.org/show_bug.cgi?id=703915
src/gom-flickr-miner.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/gom-flickr-miner.c b/src/gom-flickr-miner.c
index a673eda..f7ef1fb 100644
--- a/src/gom-flickr-miner.c
+++ b/src/gom-flickr-miner.c
@@ -107,7 +107,7 @@ account_miner_job_process_entry (GomAccountMinerJob *job,
gboolean resource_exists, mtime_changed;
gint64 new_mtime;
- if (op_type == OP_CREATE_HIEARCHY && entry->parent == NULL)
+ if (op_type == OP_CREATE_HIEARCHY && entry->parent == NULL && !GRL_IS_MEDIA_BOX (entry->media))
return TRUE;
id = grl_media_get_id (entry->media);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]