diff options
author | Simon McVittie <simon.mcvittie@collabora.co.uk> | 2012-05-02 19:06:24 +0100 |
---|---|---|
committer | Simon McVittie <simon.mcvittie@collabora.co.uk> | 2012-05-02 20:19:36 +0100 |
commit | 9aec808ae99f5b06c816943fc1648358af0d8294 (patch) | |
tree | ac7f5cd918ca45932fd321648e9f589d35e966c2 /telepathy-glib/connection.c | |
parent | 2cc2520bcfa36c834dab111ebf41637bbfc8371f (diff) | |
download | telepathy-glib-9aec808ae99f5b06c816943fc1648358af0d8294.tar.gz |
Stop using TP_ERRORS
We deprecated this in 0.11.
Diffstat (limited to 'telepathy-glib/connection.c')
-rw-r--r-- | telepathy-glib/connection.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/telepathy-glib/connection.c b/telepathy-glib/connection.c index 3a6f2567d..2fa2fafa3 100644 --- a/telepathy-glib/connection.c +++ b/telepathy-glib/connection.c @@ -1177,7 +1177,7 @@ _tp_connection_status_reason_to_gerror (TpConnectionStatusReason reason, return; } - g_set_error (error, TP_ERRORS, code, "%s", message); + g_set_error (error, TP_ERROR, code, "%s", message); if (ret_str != NULL) *ret_str = tp_error_get_dbus_name (code); @@ -2900,7 +2900,7 @@ tp_connection_once (gpointer data G_GNUC_UNUSED) tp_proxy_or_subclass_hook_on_interface_add (type, tp_cli_connection_add_signals); tp_proxy_subclass_add_error_mapping (type, - TP_ERROR_PREFIX, TP_ERRORS, TP_TYPE_ERROR); + TP_ERROR_PREFIX, TP_ERROR, TP_TYPE_ERROR); return NULL; } @@ -3276,7 +3276,7 @@ tp_connection_get_detailed_error (TpConnection *self, *details = self->priv->connection_error_details; } - if (proxy->invalidated->domain == TP_ERRORS) + if (proxy->invalidated->domain == TP_ERROR) { return tp_error_get_dbus_name (proxy->invalidated->code); } |