[gnome-photos] fetch-ids-job: Remove redundant function call



commit 9c4ab76caad18356998d0c909720c02e3db77014
Author: Debarshi Ray <debarshir gnome org>
Date:   Wed Jun 22 16:19:30 2016 +0200

    fetch-ids-job: Remove redundant function call
    
    Destroying a TrackerSparqlCursor is enough to close it. No need to
    explicitly close it.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=764086

 src/photos-fetch-ids-job.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)
---
diff --git a/src/photos-fetch-ids-job.c b/src/photos-fetch-ids-job.c
index 774f125..0bfbbf8 100644
--- a/src/photos-fetch-ids-job.c
+++ b/src/photos-fetch-ids-job.c
@@ -102,7 +102,6 @@ photos_fetch_ids_job_cursor_next (GObject *source_object, GAsyncResult *res, gpo
 
  end:
   photos_fetch_ids_job_emit_callback (self);
-  tracker_sparql_cursor_close (cursor);
   g_object_unref (self);
 }
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]