[grilo-plugins] tracker: don't stop notification process if get sources fail



commit eaaf673c8f2c4174e2b57461cd483fe24d4196a6
Author: Lionel Landwerlin <lionel g landwerlin linux intel com>
Date:   Sun Mar 20 02:11:36 2011 +0000

    tracker: don't stop notification process if get sources fail
    
    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;
   }
 



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