summaryrefslogtreecommitdiff
path: root/telepathy-glib/channel-dispatch-operation.c
diff options
context:
space:
mode:
authorSimon McVittie <simon.mcvittie@collabora.co.uk>2012-05-02 19:06:24 +0100
committerSimon McVittie <simon.mcvittie@collabora.co.uk>2012-05-02 20:19:36 +0100
commit9aec808ae99f5b06c816943fc1648358af0d8294 (patch)
treeac7f5cd918ca45932fd321648e9f589d35e966c2 /telepathy-glib/channel-dispatch-operation.c
parent2cc2520bcfa36c834dab111ebf41637bbfc8371f (diff)
downloadtelepathy-glib-9aec808ae99f5b06c816943fc1648358af0d8294.tar.gz
Stop using TP_ERRORS
We deprecated this in 0.11.
Diffstat (limited to 'telepathy-glib/channel-dispatch-operation.c')
-rw-r--r--telepathy-glib/channel-dispatch-operation.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/telepathy-glib/channel-dispatch-operation.c b/telepathy-glib/channel-dispatch-operation.c
index d37c944e9..1c26b813e 100644
--- a/telepathy-glib/channel-dispatch-operation.c
+++ b/telepathy-glib/channel-dispatch-operation.c
@@ -588,7 +588,7 @@ get_dispatch_operation_prop_cb (TpProxy *proxy,
if (self->priv->connection == NULL)
{
- e = g_error_new_literal (TP_ERRORS, TP_ERROR_INVALID_ARGUMENT,
+ e = g_error_new_literal (TP_ERROR, TP_ERROR_INVALID_ARGUMENT,
"Mandatory 'Connection' property is missing");
DEBUG ("%s", e->message);
@@ -602,7 +602,7 @@ get_dispatch_operation_prop_cb (TpProxy *proxy,
if (self->priv->account == NULL)
{
- e = g_error_new_literal (TP_ERRORS, TP_ERROR_INVALID_ARGUMENT,
+ e = g_error_new_literal (TP_ERROR, TP_ERROR_INVALID_ARGUMENT,
"Mandatory 'Account' property is missing");
DEBUG ("%s", e->message);
@@ -616,7 +616,7 @@ get_dispatch_operation_prop_cb (TpProxy *proxy,
if (self->priv->possible_handlers == NULL)
{
- e = g_error_new_literal (TP_ERRORS, TP_ERROR_INVALID_ARGUMENT,
+ e = g_error_new_literal (TP_ERROR, TP_ERROR_INVALID_ARGUMENT,
"Mandatory 'PossibleHandlers' property is missing");
DEBUG ("%s", e->message);
@@ -632,7 +632,7 @@ get_dispatch_operation_prop_cb (TpProxy *proxy,
TP_ARRAY_TYPE_CHANNEL_DETAILS_LIST);
if (channels == NULL)
{
- e = g_error_new_literal (TP_ERRORS, TP_ERROR_INVALID_ARGUMENT,
+ e = g_error_new_literal (TP_ERROR, TP_ERROR_INVALID_ARGUMENT,
"Mandatory 'Channels' property is missing");
DEBUG ("%s", e->message);
@@ -865,7 +865,7 @@ tp_channel_dispatch_operation_init_known_interfaces (void)
tp_proxy_or_subclass_hook_on_interface_add (tp_type,
tp_cli_channel_dispatch_operation_add_signals);
tp_proxy_subclass_add_error_mapping (tp_type,
- TP_ERROR_PREFIX, TP_ERRORS, TP_TYPE_ERROR);
+ TP_ERROR_PREFIX, TP_ERROR, TP_TYPE_ERROR);
g_once_init_leave (&once, 1);
}