[rygel] all: Fix typo and namespace
- From: Jens Georg <jensgeorg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [rygel] all: Fix typo and namespace
- Date: Fri, 8 Mar 2013 18:52:05 +0000 (UTC)
commit dfaaa9602de748d298479a07ab40b6bea5dc9d7a
Author: Jens Georg <jensg openismus com>
Date: Thu Mar 7 16:39:25 2013 +0100
all: Fix typo and namespace
src/librygel-server/rygel-writable-container.vala | 4 ++--
.../rygel-media-export-writable-db-container.vala | 4 ++--
.../rygel-tracker-category-all-container.vala | 4 ++--
3 files changed, 6 insertions(+), 6 deletions(-)
---
diff --git a/src/librygel-server/rygel-writable-container.vala
b/src/librygel-server/rygel-writable-container.vala
index f6d0868..44bd609 100644
--- a/src/librygel-server/rygel-writable-container.vala
+++ b/src/librygel-server/rygel-writable-container.vala
@@ -26,7 +26,7 @@
using Gee;
-public errordomain WriteableContainerError {
+public errordomain Rygel.WritableContainerError {
NOT_IMPLEMENTED
}
@@ -105,7 +105,7 @@ public interface Rygel.WritableContainer : MediaContainer {
public async virtual string add_reference (MediaObject object,
Cancellable? cancellable)
throws Error {
- throw new WriteableContainerError.NOT_IMPLEMENTED
+ throw new WritableContainerError.NOT_IMPLEMENTED
("Cannot create references 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 7a2944e..77e62af 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
@@ -81,7 +81,7 @@ internal class Rygel.MediaExport.WritableDbContainer : TrackableDbContainer,
}
break;
default:
- throw new WriteableContainerError.NOT_IMPLEMENTED
+ throw new WritableContainerError.NOT_IMPLEMENTED
("upnp:class %s not supported",
container.upnp_class);
}
@@ -98,7 +98,7 @@ internal class Rygel.MediaExport.WritableDbContainer : TrackableDbContainer,
public async void remove_container (string id, Cancellable? cancellable)
throws Error {
- throw new WriteableContainerError.NOT_IMPLEMENTED ("Not supported");
+ throw new WritableContainerError.NOT_IMPLEMENTED ("Not supported");
}
}
diff --git a/src/plugins/tracker/rygel-tracker-category-all-container.vala
b/src/plugins/tracker/rygel-tracker-category-all-container.vala
index 83c104d..6c51cf6 100644
--- a/src/plugins/tracker/rygel-tracker-category-all-container.vala
+++ b/src/plugins/tracker/rygel-tracker-category-all-container.vala
@@ -92,7 +92,7 @@ public class Rygel.Tracker.CategoryAllContainer : SearchContainer,
public async void add_container (MediaContainer container,
Cancellable? cancellable) throws Error {
- throw new WriteableContainerError.NOT_IMPLEMENTED ("Not supported");
+ throw new WritableContainerError.NOT_IMPLEMENTED ("Not supported");
}
public async void remove_item (string id, Cancellable? cancellable)
@@ -106,7 +106,7 @@ public class Rygel.Tracker.CategoryAllContainer : SearchContainer,
public async void remove_container (string id, Cancellable? cancellable)
throws Error {
- throw new WriteableContainerError.NOT_IMPLEMENTED ("Not supported");
+ throw new WritableContainerError.NOT_IMPLEMENTED ("Not supported");
}
public async MediaObjects? search (SearchExpression? expression,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]