diff options
author | Dafydd Harries <dafydd.harries@collabora.co.uk> | 2007-07-11 15:21:00 +0000 |
---|---|---|
committer | Dafydd Harries <dafydd.harries@collabora.co.uk> | 2007-07-11 15:21:00 +0000 |
commit | fdd3ec2e75c8c01471e60a7c159a4b3cadddd555 (patch) | |
tree | ad10afd5a1b7a53ac9b77b8253f6c3723661b754 /telepathy-glib/properties-mixin.c | |
parent | 9e2c8a0985bd92b4f1acd167476b351c03907d88 (diff) | |
download | telepathy-glib-fdd3ec2e75c8c01471e60a7c159a4b3cadddd555.tar.gz |
properties mixin: when SetProperties is called in the middle of an existing SetProperties call, don't trample over the existing state
20070711152100-c9803-ed5c085f1a6f682d015b2282dbf4ea7b9ec8b21f.gz
Diffstat (limited to 'telepathy-glib/properties-mixin.c')
-rw-r--r-- | telepathy-glib/properties-mixin.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/telepathy-glib/properties-mixin.c b/telepathy-glib/properties-mixin.c index 94d18495f..b19c3acec 100644 --- a/telepathy-glib/properties-mixin.c +++ b/telepathy-glib/properties-mixin.c @@ -392,7 +392,9 @@ tp_properties_mixin_set_properties (GObject *obj, { error = g_error_new (TP_ERRORS, TP_ERROR_NOT_AVAILABLE, "A SetProperties request is already in progress"); - goto ERROR; + dbus_g_method_return_error (context, error); + g_error_free (error); + return; } ctx->dbus_ctx = context; |