server: VisualItem: Remove pixel-height and pixel-width properties.
authorMurray Cumming <murrayc@openismus.com>
Wed, 19 Sep 2012 08:57:16 +0000 (10:57 +0200)
committerMurray Cumming <murrayc@murrayc.com>
Mon, 24 Sep 2012 10:12:28 +0000 (12:12 +0200)
These properties are unused and undocumented.

src/librygel-server/rygel-image-item.vala
src/librygel-server/rygel-video-item.vala
src/librygel-server/rygel-visual-item.vala
src/plugins/external/rygel-external-item-factory.vala
tests/rygel-http-get-test.vala

index c1972ff..9629a81 100644 (file)
@@ -33,8 +33,6 @@ public class Rygel.ImageItem : MediaItem, VisualItem {
 
     public int width { get; set; default = -1; }
     public int height { get; set; default = -1; }
-    public int pixel_width { get; set; default = -1; }
-    public int pixel_height { get; set; default = -1; }
     public int color_depth { get; set; default = -1; }
 
     public ArrayList<Thumbnail> thumbnails { get; protected set; }
index 36dbd04..d5c02d9 100644 (file)
@@ -36,8 +36,6 @@ public class Rygel.VideoItem : AudioItem, VisualItem {
 
     public int width { get; set; default = -1; }
     public int height { get; set; default = -1; }
-    public int pixel_width { get; set; default = -1; }
-    public int pixel_height { get; set; default = -1; }
     public int color_depth { get; set; default = -1; }
 
     public ArrayList<Thumbnail> thumbnails { get; protected set; }
index 0352f65..bd0a043 100644 (file)
@@ -32,8 +32,6 @@ using Gst;
 public interface Rygel.VisualItem : MediaItem {
     public abstract int width { get; set; }
     public abstract int height { get; set; }
-    public abstract int pixel_width { get; set; }
-    public abstract int pixel_height { get; set; }
     public abstract int color_depth { get; set; }
 
     public abstract ArrayList<Thumbnail> thumbnails { get; protected set; }
index 9a764a9..78cbc1a 100644 (file)
@@ -110,8 +110,6 @@ public class Rygel.External.ItemFactory {
         visual.width = this.get_int (props, "Width");
         visual.height = this.get_int (props, "Height");
         visual.color_depth = this.get_int (props, "ColorDepth");
-        visual.pixel_width = this.get_int (props, "PixelWidth");
-        visual.pixel_height = this.get_int (props, "PixelHeight");
 
         var value = props.lookup ("Thumbnail");
         if (value != null) {
index f9632ff..f697d2a 100644 (file)
@@ -403,8 +403,6 @@ private class Rygel.AudioItem : MediaItem {
 private interface Rygel.VisualItem : MediaItem {
     public abstract int width { get; set; }
     public abstract int height { get; set; }
-    public abstract int pixel_width { get; set; }
-    public abstract int pixel_height { get; set; }
     public abstract int color_depth { get; set; }
 
     public abstract ArrayList<Thumbnail> thumbnails { get; protected set; }
@@ -421,8 +419,6 @@ private interface Rygel.VisualItem : MediaItem {
 private class Rygel.VideoItem : AudioItem, VisualItem {
     public int width { get; set; default = -1; }
     public int height { get; set; default = -1; }
-    public int pixel_width { get; set; default = -1; }
-    public int pixel_height { get; set; default = -1; }
     public int color_depth { get; set; default = -1; }
 
     private ArrayList<Thumbnail> ts;