[gnome-documents/wip/facebook] facebook miner: trivial: some spaces and TODO comments
- From: Álvaro Peña <alvaropg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-documents/wip/facebook] facebook miner: trivial: some spaces and TODO comments
- Date: Wed, 5 Jun 2013 15:22:11 +0000 (UTC)
commit 064590f3302528612a7b7785c26a1b9ddaa26638
Author: Álvaro Peña <alvaropg gmail com>
Date: Wed Jun 5 17:19:04 2013 +0200
facebook miner: trivial: some spaces and TODO comments
src/miner/gd-facebook-miner.c | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
---
diff --git a/src/miner/gd-facebook-miner.c b/src/miner/gd-facebook-miner.c
index 70524c8..90f0436 100644
--- a/src/miner/gd-facebook-miner.c
+++ b/src/miner/gd-facebook-miner.c
@@ -175,6 +175,8 @@ account_miner_job_lookup_album (GdAccountMinerJob *job, GFBGraphAlbum *album, co
if (*error != NULL)
goto out;
+ /* TODO: Check updated time to avoid updating the photo if has not been modified since our last run */
+
// insert album url
gd_miner_tracker_sparql_connection_insert_or_replace_triple (job->connection,
job->cancellable, error,
@@ -292,6 +294,8 @@ account_miner_job_process_photo (GdAccountMinerJob *job, GFBGraphPhoto *photo, c
if (*error != NULL)
goto out;
+ /* TODO: Check updated time to avoid updating the photo if has not been modified since our last run */
+
// insert url
gd_miner_tracker_sparql_connection_insert_or_replace_triple (job->connection,
job->cancellable, error,
@@ -314,6 +318,7 @@ account_miner_job_process_photo (GdAccountMinerJob *job, GFBGraphPhoto *photo, c
job->datasource_urn, resource,
"nie:isPartOf", parent_resource_urn);
g_free (parent_resource_urn);
+
if (*error != NULL)
goto out;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]