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/text-channel.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/text-channel.c')
-rw-r--r-- | telepathy-glib/text-channel.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/telepathy-glib/text-channel.c b/telepathy-glib/text-channel.c index e56664bbb..387bac17f 100644 --- a/telepathy-glib/text-channel.c +++ b/telepathy-glib/text-channel.c @@ -649,7 +649,7 @@ get_pending_messages_cb (TpProxy *proxy, DEBUG ("PendingMessages property is of the wrong type"); g_simple_async_result_set_error (self->priv->pending_messages_result, - TP_ERRORS, TP_ERROR_CONFUSED, + TP_ERROR, TP_ERROR_CONFUSED, "PendingMessages property is of the wrong type"); g_simple_async_result_complete_in_idle (self->priv->pending_messages_result); @@ -740,7 +740,7 @@ get_sms_channel_cb (TpProxy *proxy, { DEBUG ("SMSChannel property is of the wrong type"); - g_simple_async_result_set_error (result, TP_ERRORS, TP_ERROR_CONFUSED, + g_simple_async_result_set_error (result, TP_ERROR, TP_ERROR_CONFUSED, "SMSChannel property is of the wrong type"); goto out; } @@ -1456,7 +1456,7 @@ tp_text_channel_ack_message_async (TpTextChannel *self, if (!valid) { g_simple_async_report_error_in_idle (G_OBJECT (self), callback, user_data, - TP_ERRORS, TP_ERROR_INVALID_ARGUMENT, + TP_ERROR, TP_ERROR_INVALID_ARGUMENT, "Message doesn't have a pending-message-id"); return; |