[gnome-photos] tracker-controller: Implement offset_changed
- From: Debarshi Ray <debarshir src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-photos] tracker-controller: Implement offset_changed
- Date: Sat, 11 Aug 2012 19:23:11 +0000 (UTC)
commit ecca80200074e1d6bd492ba9f7f45a78db58e38d
Author: Debarshi Ray <debarshir gnome org>
Date: Sat Aug 11 20:51:19 2012 +0200
tracker-controller: Implement offset_changed
src/photos-tracker-controller.c | 14 ++++++++------
1 files changed, 8 insertions(+), 6 deletions(-)
---
diff --git a/src/photos-tracker-controller.c b/src/photos-tracker-controller.c
index 2abbb1b..1f04042 100644
--- a/src/photos-tracker-controller.c
+++ b/src/photos-tracker-controller.c
@@ -121,12 +121,6 @@ photos_tracker_controller_cursor_next (GObject *source_object, GAsyncResult *res
static void
-photos_tracker_controller_offset_changed (PhotosOffsetController *offset_cntrlr, gint offset, gpointer user_data)
-{
-}
-
-
-static void
photos_tracker_controller_query_executed (GObject *source_object, GAsyncResult *res, gpointer user_data)
{
PhotosTrackerController *self = PHOTOS_TRACKER_CONTROLLER (user_data);
@@ -171,6 +165,14 @@ photos_tracker_controller_perform_current_query (PhotosTrackerController *self)
static void
+photos_tracker_controller_offset_changed (PhotosOffsetController *offset_cntrlr, gint offset, gpointer user_data)
+{
+ PhotosTrackerController *self = PHOTOS_TRACKER_CONTROLLER (user_data);
+ photos_tracker_controller_perform_current_query (self);
+}
+
+
+static void
photos_tracker_controller_refresh_for_object (PhotosBaseManager *manager, GObject *object, gpointer user_data)
{
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]