[rygel/wip/739692: 1/7] server: Remove unused parameter
- From: Jens Georg <jensgeorg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [rygel/wip/739692: 1/7] server: Remove unused parameter
- Date: Tue, 11 Nov 2014 21:25:14 +0000 (UTC)
commit e8b02520210bd0100b077626e24d8c766994174a
Author: Jens Georg <mail jensge org>
Date: Tue Nov 11 08:23:18 2014 +0100
server: Remove unused parameter
Signed-off-by: Jens Georg <mail jensge org>
src/librygel-server/rygel-image-item.vala | 2 +-
src/librygel-server/rygel-video-item.vala | 2 +-
src/librygel-server/rygel-visual-item.vala | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/src/librygel-server/rygel-image-item.vala b/src/librygel-server/rygel-image-item.vala
index 55503c6..9720590 100644
--- a/src/librygel-server/rygel-image-item.vala
+++ b/src/librygel-server/rygel-image-item.vala
@@ -81,7 +81,7 @@ public class Rygel.ImageItem : MediaItem, VisualItem {
public override void add_uri (string uri) {
base.add_uri (uri);
- this.add_thumbnail_for_uri (uri, this.mime_type);
+ this.add_thumbnail_for_uri (uri);
}
internal override void add_resources (DIDLLiteItem didl_item,
diff --git a/src/librygel-server/rygel-video-item.vala b/src/librygel-server/rygel-video-item.vala
index 488f6eb..d8e18b6 100644
--- a/src/librygel-server/rygel-video-item.vala
+++ b/src/librygel-server/rygel-video-item.vala
@@ -87,7 +87,7 @@ public class Rygel.VideoItem : AudioItem, VisualItem {
public override void add_uri (string uri) {
base.add_uri (uri);
- this.add_thumbnail_for_uri (uri, this.mime_type);
+ this.add_thumbnail_for_uri (uri);
var subtitle_manager = SubtitleManager.get_default ();
diff --git a/src/librygel-server/rygel-visual-item.vala b/src/librygel-server/rygel-visual-item.vala
index 82a792e..2caaf34 100644
--- a/src/librygel-server/rygel-visual-item.vala
+++ b/src/librygel-server/rygel-visual-item.vala
@@ -55,7 +55,7 @@ public interface Rygel.VisualItem : MediaItem {
*/
public abstract ArrayList<Thumbnail> thumbnails { get; protected set; }
- internal void add_thumbnail_for_uri (string uri, string mime_type) {
+ internal void add_thumbnail_for_uri (string uri) {
// Lets see if we can provide the thumbnails
var thumbnailer = Thumbnailer.get_default ();
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]