[Pkg-telepathy-commits] [telepathy-glib-1] 07/212: replace dbus_g_method_return_error + g_error_free with g_dbus_method_invocation_take_error
Simon McVittie
smcv at debian.org
Wed May 14 12:08:45 UTC 2014
This is an automated email from the git hooks/post-receive script.
smcv pushed a commit to branch debian
in repository telepathy-glib-1.
commit 6edb76facac9a902f8ecf6780aa5c06e73d567b6
Author: Simon McVittie <simon.mcvittie at collabora.co.uk>
Date: Tue Mar 11 17:51:36 2014 +0000
replace dbus_g_method_return_error + g_error_free with g_dbus_method_invocation_take_error
---
telepathy-glib/base-client.c | 13 ++++---------
1 file changed, 4 insertions(+), 9 deletions(-)
diff --git a/telepathy-glib/base-client.c b/telepathy-glib/base-client.c
index 443dc1e..6637a32 100644
--- a/telepathy-glib/base-client.c
+++ b/telepathy-glib/base-client.c
@@ -1759,8 +1759,7 @@ out:
if (error == NULL)
return;
- dbus_g_method_return_error (context, error);
- g_error_free (error);
+ g_dbus_method_invocation_take_error (context, error);
}
static void
@@ -1937,9 +1936,7 @@ out:
if (error == NULL)
return;
- dbus_g_method_return_error (context, error);
- g_error_free (error);
-
+ g_dbus_method_invocation_take_error (context, error);
}
static void
@@ -2255,8 +2252,7 @@ out:
if (error == NULL)
return;
- dbus_g_method_return_error (context, error);
- g_error_free (error);
+ g_dbus_method_invocation_take_error (context, error);
}
static void
@@ -2372,8 +2368,7 @@ _tp_base_client_add_request (TpSvcClientInterfaceRequests *iface,
err:
g_clear_object (&account);
- dbus_g_method_return_error (context, error);
- g_error_free (error);
+ g_dbus_method_invocation_take_error (context, error);
}
static void
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-telepathy/telepathy-glib-1.git
More information about the Pkg-telepathy-commits
mailing list