[rygel/wip/create-reference: 55/55] WIP
- From: Jens Georg <jensgeorg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [rygel/wip/create-reference: 55/55] WIP
- Date: Wed, 10 Apr 2013 12:54:13 +0000 (UTC)
commit 3d98d5ac5e1a8d98c32cd75a3d93b56171f9b5fc
Author: Jens Georg <jensg openismus com>
Date: Tue Apr 9 11:41:32 2013 +0200
WIP
.../rygel-media-export-playlist-container.vala | 10 +++++-----
...rygel-media-export-playlist-root-container.vala | 8 ++++----
.../rygel-media-export-writable-db-container.vala | 2 +-
3 files changed, 10 insertions(+), 10 deletions(-)
---
diff --git a/src/plugins/media-export/rygel-media-export-playlist-container.vala
b/src/plugins/media-export/rygel-media-export-playlist-container.vala
index 3947508..20e63f7 100644
--- a/src/plugins/media-export/rygel-media-export-playlist-container.vala
+++ b/src/plugins/media-export/rygel-media-export-playlist-container.vala
@@ -32,7 +32,7 @@ internal class Rygel.MediaExport.PlaylistContainer : DBContainer,
Cancellable? cancellable)
throws Error {
if (object is MediaContainer) {
- throw new WriteableContainerError.NOT_IMPLEMENTED
+ throw new WritableContainerError.NOT_IMPLEMENTED
("Cannot create references to containers");
}
@@ -56,7 +56,7 @@ internal class Rygel.MediaExport.PlaylistContainer : DBContainer,
Cancellable? cancellable)
throws Error {
// FIXME: Add translation
- throw new WriteableContainerError.NOT_IMPLEMENTED
+ throw new WritableContainerError.NOT_IMPLEMENTED
("Can't create items here");
}
@@ -64,7 +64,7 @@ internal class Rygel.MediaExport.PlaylistContainer : DBContainer,
Cancellable? cancellable)
throws Error {
// FIXME: Add translation
- throw new WriteableContainerError.NOT_IMPLEMENTED
+ throw new WritableContainerError.NOT_IMPLEMENTED
("Can't create items here");
}
@@ -72,7 +72,7 @@ internal class Rygel.MediaExport.PlaylistContainer : DBContainer,
Cancellable? cancellable)
throws Error {
// FIXME: Add translation
- throw new WriteableContainerError.NOT_IMPLEMENTED
+ throw new WritableContainerError.NOT_IMPLEMENTED
("upnp:class not supported");
}
@@ -80,7 +80,7 @@ internal class Rygel.MediaExport.PlaylistContainer : DBContainer,
Cancellable? cancellable)
throws Error {
// FIXME: Add translation
- throw new WriteableContainerError.NOT_IMPLEMENTED
+ throw new WritableContainerError.NOT_IMPLEMENTED
("Can't create items here");
}
diff --git a/src/plugins/media-export/rygel-media-export-playlist-root-container.vala
b/src/plugins/media-export/rygel-media-export-playlist-root-container.vala
index 19e8acd..f616d8e 100644
--- a/src/plugins/media-export/rygel-media-export-playlist-root-container.vala
+++ b/src/plugins/media-export/rygel-media-export-playlist-root-container.vala
@@ -27,7 +27,7 @@ internal class Rygel.MediaExport.PlaylistRootContainer : Rygel.WritableContainer
Cancellable? cancellable)
throws Error {
// FIXME: Add translation
- throw new WriteableContainerError.NOT_IMPLEMENTED
+ throw new WritableContainerError.NOT_IMPLEMENTED
("Can't create items here");
}
@@ -35,7 +35,7 @@ internal class Rygel.MediaExport.PlaylistRootContainer : Rygel.WritableContainer
Cancellable? cancellable)
throws Error {
// FIXME: Add translation
- throw new WriteableContainerError.NOT_IMPLEMENTED
+ throw new WritableContainerError.NOT_IMPLEMENTED
("Can't create items here");
}
@@ -43,7 +43,7 @@ internal class Rygel.MediaExport.PlaylistRootContainer : Rygel.WritableContainer
Cancellable? cancellable)
throws Error {
if (container.upnp_class != Rygel.MediaContainer.PLAYLIST) {
- throw new WriteableContainerError.NOT_IMPLEMENTED
+ throw new WritableContainerError.NOT_IMPLEMENTED
("upnp:class not supported");
}
container.id = "playlist:" + UUID.get ();
@@ -56,7 +56,7 @@ internal class Rygel.MediaExport.PlaylistRootContainer : Rygel.WritableContainer
Cancellable? cancellable)
throws Error {
// FIXME: Add translation
- throw new WriteableContainerError.NOT_IMPLEMENTED
+ throw new WritableContainerError.NOT_IMPLEMENTED
("Can't create items here");
}
diff --git a/src/plugins/media-export/rygel-media-export-writable-db-container.vala
b/src/plugins/media-export/rygel-media-export-writable-db-container.vala
index 94bd3a2..666125d 100644
--- a/src/plugins/media-export/rygel-media-export-writable-db-container.vala
+++ b/src/plugins/media-export/rygel-media-export-writable-db-container.vala
@@ -61,7 +61,7 @@ internal class Rygel.MediaExport.WritableDbContainer : TrackableDbContainer,
throws Error {
if (item.id == null && item.ref_id != null) {
warning ("=> CreateReference not supported");
- throw new WriteableContainerError.NOT_IMPLEMENTED ("Not supported");
+ throw new WritableContainerError.NOT_IMPLEMENTED ("Not supported");
}
item.parent = this;
var file = File.new_for_uri (item.uris[0]);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]