[Pkg-telepathy-commits] [telepathy-glib-1] 06/212: tp_dbus_g_method_return_not_implemented: use a GDBusMethodInvocation
Simon McVittie
smcv at debian.org
Wed May 14 12:08:44 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 51a09a4c9a37c4734d1d2f2ec1fe4a2a79047072
Author: Simon McVittie <simon.mcvittie at collabora.co.uk>
Date: Tue Mar 11 17:34:58 2014 +0000
tp_dbus_g_method_return_not_implemented: use a GDBusMethodInvocation
---
telepathy-glib/core-dbus.c | 7 +++----
1 file changed, 3 insertions(+), 4 deletions(-)
diff --git a/telepathy-glib/core-dbus.c b/telepathy-glib/core-dbus.c
index 6e0e33a..48f0d4c 100644
--- a/telepathy-glib/core-dbus.c
+++ b/telepathy-glib/core-dbus.c
@@ -33,11 +33,10 @@
* given by @context.
*/
void
-tp_dbus_g_method_return_not_implemented (DBusGMethodInvocation *context)
+tp_dbus_g_method_return_not_implemented (GDBusMethodInvocation *context)
{
- GError e = { TP_ERROR, TP_ERROR_NOT_IMPLEMENTED, "Not implemented" };
-
- dbus_g_method_return_error (context, &e);
+ g_dbus_method_invocation_return_dbus_error (context,
+ TP_ERROR_STR_NOT_IMPLEMENTED, "Not implemented");
}
/* this is the core library, we don't have debug infrastructure yet */
--
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