[rygel] core: MediaItem.place_holder is now a property



commit b4402c02e73ca19b06229117ba986c478b137c66
Author: Zeeshan Ali (Khattak) <zeeshanak gnome org>
Date:   Tue Oct 26 02:36:17 2010 +0300

    core: MediaItem.place_holder is now a property
    
    This is to make it visible to all (core) classes, while not allowing them
    to write to it.

 src/rygel/rygel-media-item.vala |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/rygel/rygel-media-item.vala b/src/rygel/rygel-media-item.vala
index ac2aa7f..01ddb21 100644
--- a/src/rygel/rygel-media-item.vala
+++ b/src/rygel/rygel-media-item.vala
@@ -55,7 +55,7 @@ public abstract class Rygel.MediaItem : MediaObject {
         }
     }   // Size in bytes
 
-    protected bool place_holder = false;
+    internal bool place_holder { get; private set; default = false; }
 
     public MediaItem (string         id,
                       MediaContainer parent,



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