summaryrefslogtreecommitdiff
path: root/telepathy-glib/proxy.h
diff options
context:
space:
mode:
authorSimon McVittie <simon.mcvittie@collabora.co.uk>2009-01-28 12:38:56 +0000
committerSimon McVittie <simon.mcvittie@collabora.co.uk>2009-01-28 12:38:56 +0000
commitd0cd24c55aa7a78cf0dbe6a17ca47c9de68d9566 (patch)
treea762c7be0dec984ac9b06af35a551fca7c70eed0 /telepathy-glib/proxy.h
parent12ecb8a4e195d74dddb6a4261fb5b9537b54ff9d (diff)
downloadtelepathy-glib-d0cd24c55aa7a78cf0dbe6a17ca47c9de68d9566.tar.gz
TpProxy: expose a method to map D-Bus errors to GErrors
This is useful for ConnectionError and MembersChangedDetailed. Code adapted from the internal function _tp_proxy_take_and_remap_error.
Diffstat (limited to 'telepathy-glib/proxy.h')
-rw-r--r--telepathy-glib/proxy.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/telepathy-glib/proxy.h b/telepathy-glib/proxy.h
index 2a1b7ad46..bd6b3a9e5 100644
--- a/telepathy-glib/proxy.h
+++ b/telepathy-glib/proxy.h
@@ -131,6 +131,9 @@ const gchar *tp_proxy_get_object_path (gpointer self);
const GError *tp_proxy_get_invalidated (gpointer self);
+void tp_proxy_dbus_error_to_gerror (gpointer self,
+ const char *dbus_error, const char *debug_message, GError **error);
+
G_END_DECLS
#include <telepathy-glib/_gen/tp-cli-generic.h>