[rygel] server: Minor style fixes
- From: Jens Georg <jensgeorg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [rygel] server: Minor style fixes
- Date: Tue, 13 Aug 2013 10:56:47 +0000 (UTC)
commit c5db41e0aae126b15fc1244ec6ded5af4078c14e
Author: Jens Georg <jensg openismus com>
Date: Tue Aug 13 12:56:38 2013 +0200
server: Minor style fixes
src/librygel-server/rygel-media-query-action.vala | 4 ++--
src/librygel-server/rygel-search.vala | 2 +-
2 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/src/librygel-server/rygel-media-query-action.vala
b/src/librygel-server/rygel-media-query-action.vala
index fef2bbf..b3f52aa 100644
--- a/src/librygel-server/rygel-media-query-action.vala
+++ b/src/librygel-server/rygel-media-query-action.vala
@@ -189,10 +189,10 @@ internal abstract class Rygel.MediaQueryAction : GLib.Object, StateMachine {
var media_object = yield this.root_container.find_object
(this.object_id, this.cancellable);
if (media_object == null) {
- if (this.object_id_arg == "ObjectID"){
+ if (this.object_id_arg == "ObjectID") {
throw new ContentDirectoryError.NO_SUCH_OBJECT
(_("No such object"));
- }else{
+ } else {
throw new ContentDirectoryError.NO_SUCH_CONTAINER
(_("No such container"));
}
diff --git a/src/librygel-server/rygel-search.vala b/src/librygel-server/rygel-search.vala
index 6b936d1..b97e991 100644
--- a/src/librygel-server/rygel-search.vala
+++ b/src/librygel-server/rygel-search.vala
@@ -67,7 +67,7 @@ internal class Rygel.Search: Rygel.MediaQueryAction {
if (parser.err != null) {
throw new ContentDirectoryError.INVALID_SEARCH_CRITERIA
- ("Invalid search criteria given");
+ (_("Invalid search criteria given"));
}
var sort_criteria = this.sort_criteria ?? container.sort_criteria;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]