[gnome-photos] tracker-queue: Check for pending messages on query completion



commit b7b47a6c866a10d9902ce3e59a9e1d65a7b060e0
Author: Debarshi Ray <debarshir gnome org>
Date:   Sat Aug 18 19:41:44 2012 +0200

    tracker-queue: Check for pending messages on query completion

 src/photos-tracker-queue.c |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)
---
diff --git a/src/photos-tracker-queue.c b/src/photos-tracker-queue.c
index a15fcfb..37b40d7 100644
--- a/src/photos-tracker-queue.c
+++ b/src/photos-tracker-queue.c
@@ -58,6 +58,9 @@ struct _PhotosTrackerQueueData
 };
 
 
+static void photos_tracker_queue_check (PhotosTrackerQueue *self);
+
+
 static void
 photos_tracker_queue_data_free (PhotosTrackerQueueData *data)
 {
@@ -104,6 +107,8 @@ photos_tracker_queue_collector (GObject *source_object, GAsyncResult *res, gpoin
   (*data->callback) (source_object, res, data->user_data);
   priv->running = FALSE;
   photos_tracker_queue_data_free (data);
+
+  photos_tracker_queue_check (self);
 }
 
 



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