[PATCH 2/4] tracker: don't stop notification process if get sources fail



From: Lionel Landwerlin <lionel g landwerlin linux intel com>

Signed-off-by: Lionel Landwerlin <lionel g landwerlin linux intel com>
---
 src/media/tracker/grl-tracker-media-notif.c |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/src/media/tracker/grl-tracker-media-notif.c b/src/media/tracker/grl-tracker-media-notif.c
index 206fb58..615e299 100644
--- a/src/media/tracker/grl-tracker-media-notif.c
+++ b/src/media/tracker/grl-tracker-media-notif.c
@@ -479,7 +479,9 @@ tracker_evt_preupdate_sources_cb (GObject              *object,
     GRL_WARNING ("\tCannot handle datasource request : %s", error->message);
 
     g_error_free (error);
-    tracker_evt_update_free (evt);
+
+    tracker_evt_update_items (evt);
+    tracker_evt_update_orphans (evt);
     return;
   }
 
-- 
1.7.4.1



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