[rygel/wip/sync: 38/39] media-export: Fix update events



commit cc9f1e881282d14291c0b63f4c1deea39ec24099
Author: Jens Georg <jensg openismus com>
Date:   Wed Oct 24 01:11:13 2012 +0200

    media-export: Fix update events

 .../rygel-media-export-harvesting-task.vala        |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/src/plugins/media-export/rygel-media-export-harvesting-task.vala b/src/plugins/media-export/rygel-media-export-harvesting-task.vala
index d8d89b3..a0fdb67 100644
--- a/src/plugins/media-export/rygel-media-export-harvesting-task.vala
+++ b/src/plugins/media-export/rygel-media-export-harvesting-task.vala
@@ -273,7 +273,7 @@ public class Rygel.MediaExport.HarvestingTask : Rygel.StateMachine,
                                             this.flag);
                 } catch (Error error) {};
             }
-            parent.updated ();
+            parent.updated (parent);
 
             this.completed ();
         }
@@ -352,7 +352,8 @@ public class Rygel.MediaExport.HarvestingTask : Rygel.StateMachine,
             try {
                 var cache = MediaCache.get_default ();
                 if (cache.get_child_count (container.id) > 0) {
-                    this.containers.peek_head ().updated ();
+                    var head = this.containers.peek_head ();
+                    head.updated (head);
                 } else {
                     cache.remove_by_id (container.id);
                 }



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