[rygel/wip/track-changes: 15/18] fixup! wip: Add automatic change tracking



commit 3abb7368534753f964f6aef21099469515a0f46e
Author: Jens Georg <jensg openismus com>
Date:   Sun Oct 21 17:14:51 2012 +0200

    fixup! wip: Add automatic change tracking

 src/librygel-server/rygel-trackable-container.vala |    7 +------
 1 files changed, 1 insertions(+), 6 deletions(-)
---
diff --git a/src/librygel-server/rygel-trackable-container.vala b/src/librygel-server/rygel-trackable-container.vala
index e98fb42..cd0a214 100644
--- a/src/librygel-server/rygel-trackable-container.vala
+++ b/src/librygel-server/rygel-trackable-container.vala
@@ -40,16 +40,11 @@ public interface Rygel.TrackableContainer : Rygel.MediaContainer {
         yield this.remove_child (object);
 
         this.updated (object, ObjectEventType.DELETED);
+        this.total_deleted_child_count++;
         this.updated ();
     }
 
     private void thaw_events () {
         // Forward events.
     }
-
-    private void on_parent_changed () {
-        if (this.parent != null) {
-            this.thaw_events ();
-        }
-    }
 }



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