[rygel] core: Fix error handling in item creator
- From: Jens Georg <jensgeorg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [rygel] core: Fix error handling in item creator
- Date: Tue, 27 Dec 2011 11:57:46 +0000 (UTC)
commit f391d200b16ba02d8656a4390b8782d7f8ad2725
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 b601b8a..d6c867e 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]