From f391d200b16ba02d8656a4390b8782d7f8ad2725 Mon Sep 17 00:00:00 2001 From: Jens Georg Date: Sun, 25 Dec 2011 14:06:49 +0100 Subject: [PATCH] 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 file changed, 1 insertion(+), 1 deletion(-) 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); -- 2.7.4