[gnome-photos] tracker-controller: Use photos_offset_controller_reset_count
- From: Debarshi Ray <debarshir src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-photos] tracker-controller: Use photos_offset_controller_reset_count
- Date: Sat, 11 Aug 2012 19:22:15 +0000 (UTC)
commit 875f10a23f5fe9436782db94e174ddd9aa5396e4
Author: Debarshi Ray <debarshir gnome org>
Date: Sat Aug 11 14:47:17 2012 +0200
tracker-controller: Use photos_offset_controller_reset_count
src/photos-tracker-controller.c | 9 ++++++---
1 files changed, 6 insertions(+), 3 deletions(-)
---
diff --git a/src/photos-tracker-controller.c b/src/photos-tracker-controller.c
index eb3f4d5..2abbb1b 100644
--- a/src/photos-tracker-controller.c
+++ b/src/photos-tracker-controller.c
@@ -75,9 +75,12 @@ photos_tracker_controller_query_finished (PhotosTrackerController *self, GError
photos_tracker_controller_set_query_status (self, FALSE);
- /* TODO: print error,
- * photos_offset_controller_reset_count (priv->offset_cntrlr)
- */
+ if (error != NULL)
+ {
+ /* TODO: print error */
+ }
+ else
+ photos_offset_controller_reset_count (priv->offset_cntrlr);
if (priv->query_queued)
{
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]