[rygel/rygel-0-12] core: Fix error handling in item creator
- From: Jens Georg <jensgeorg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [rygel/rygel-0-12] core: Fix error handling in item creator
- Date: Thu, 19 Jan 2012 10:33:24 +0000 (UTC)
commit 72a38391af4f1e27b75a47a00d6dc95ef0acf54f
Author: Jens Georg <mail jensge org>
Date: Sun Dec 25 14:06:49 2011 +0100
core: Fix error handling in item creator
Method was needlessly declared async, so the throwing of the exception
was not propagated properly in an case of error.
src/rygel/rygel-item-creator.vala | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/rygel/rygel-item-creator.vala b/src/rygel/rygel-item-creator.vala
index 5b9939c..3cbd36f 100644
--- a/src/rygel/rygel-item-creator.vala
+++ b/src/rygel/rygel-item-creator.vala
@@ -211,7 +211,7 @@ internal class Rygel.ItemCreator: GLib.Object, Rygel.StateMachine {
}
}
- private async void parse_args () throws Error {
+ private void parse_args () throws Error {
/* Start by parsing the 'in' arguments */
this.action.get ("ContainerID", typeof (string), out this.container_id,
"Elements", typeof (string), out this.elements);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]