All containers gets an update_id of 0 at creation.
authorZeeshan Ali (Khattak) <zeeshanak@src.gnome.org>
Mon, 16 Feb 2009 17:32:59 +0000 (17:32 +0000)
committerZeeshan Ali (Khattak) <zeeshanak@src.gnome.org>
Mon, 16 Feb 2009 17:32:59 +0000 (17:32 +0000)
svn path=/trunk/; revision=606

src/rygel/rygel-media-container.vala

index a44182c..22da4f0 100644 (file)
@@ -40,13 +40,12 @@ public abstract class Rygel.MediaContainer : MediaObject {
         this.parent = parent;
         this.title = title;
         this.child_count = child_count;
-        this.update_id = uint32.MAX; // undefined for non-root containers
+        this.update_id = 0;
     }
 
     public MediaContainer.root (string title,
                                 uint   child_count) {
         this ("0", null, title, child_count);
-        this.update_id = 0;
     }
 
     /**