[rygel] librender: Make playbin a read-only property



commit 4971bf4650247627f7e7b6374db0a5114eccdefa
Author: Jens Georg <mail jensge org>
Date:   Fri Jun 29 08:53:35 2012 +0200

    librender: Make playbin a read-only property

 src/plugins/playbin/rygel-playbin-player.vala |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/plugins/playbin/rygel-playbin-player.vala b/src/plugins/playbin/rygel-playbin-player.vala
index 150b7a4..a0a6b5b 100644
--- a/src/plugins/playbin/rygel-playbin-player.vala
+++ b/src/plugins/playbin/rygel-playbin-player.vala
@@ -71,7 +71,7 @@ public class Rygel.Playbin.Player : GLib.Object, Rygel.MediaPlayer {
                                         "video/x-ms-wmv" };
     private static Player player;
 
-    public dynamic Element playbin;
+    public dynamic Element playbin { get; private set; }
 
     private string _playback_state = "NO_MEDIA_PRESENT";
     public string playback_state {



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