[rygel] server: VisualItem: Remove pixel-height and pixel-width properties.
- From: Murray Cumming <murrayc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [rygel] server: VisualItem: Remove pixel-height and pixel-width properties.
- Date: Mon, 24 Sep 2012 10:19:23 +0000 (UTC)
commit 2234ad540c1ca26ce61751f4e71dcf0dc1eaafeb
Author: Murray Cumming <murrayc openismus com>
Date: Wed Sep 19 10:57:16 2012 +0200
server: VisualItem: Remove pixel-height and pixel-width properties.
These properties are unused and undocumented.
src/librygel-server/rygel-image-item.vala | 2 --
src/librygel-server/rygel-video-item.vala | 2 --
src/librygel-server/rygel-visual-item.vala | 2 --
.../external/rygel-external-item-factory.vala | 2 --
tests/rygel-http-get-test.vala | 4 ----
5 files changed, 0 insertions(+), 12 deletions(-)
---
diff --git a/src/librygel-server/rygel-image-item.vala b/src/librygel-server/rygel-image-item.vala
index c1972ff..9629a81 100644
--- a/src/librygel-server/rygel-image-item.vala
+++ b/src/librygel-server/rygel-image-item.vala
@@ -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; }
diff --git a/src/librygel-server/rygel-video-item.vala b/src/librygel-server/rygel-video-item.vala
index 36dbd04..d5c02d9 100644
--- a/src/librygel-server/rygel-video-item.vala
+++ b/src/librygel-server/rygel-video-item.vala
@@ -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; }
diff --git a/src/librygel-server/rygel-visual-item.vala b/src/librygel-server/rygel-visual-item.vala
index 0352f65..bd0a043 100644
--- a/src/librygel-server/rygel-visual-item.vala
+++ b/src/librygel-server/rygel-visual-item.vala
@@ -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; }
diff --git a/src/plugins/external/rygel-external-item-factory.vala b/src/plugins/external/rygel-external-item-factory.vala
index 9a764a9..78cbc1a 100644
--- a/src/plugins/external/rygel-external-item-factory.vala
+++ b/src/plugins/external/rygel-external-item-factory.vala
@@ -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) {
diff --git a/tests/rygel-http-get-test.vala b/tests/rygel-http-get-test.vala
index f9632ff..f697d2a 100644
--- a/tests/rygel-http-get-test.vala
+++ b/tests/rygel-http-get-test.vala
@@ -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;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]