summaryrefslogtreecommitdiff
path: root/telepathy-glib/dbus-tube-channel.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/dbus-tube-channel.c
parent2cc2520bcfa36c834dab111ebf41637bbfc8371f (diff)
downloadtelepathy-glib-9aec808ae99f5b06c816943fc1648358af0d8294.tar.gz
Stop using TP_ERRORS
We deprecated this in 0.11.
Diffstat (limited to 'telepathy-glib/dbus-tube-channel.c')
-rw-r--r--telepathy-glib/dbus-tube-channel.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/telepathy-glib/dbus-tube-channel.c b/telepathy-glib/dbus-tube-channel.c
index b796e7bc3..0533b098a 100644
--- a/telepathy-glib/dbus-tube-channel.c
+++ b/telepathy-glib/dbus-tube-channel.c
@@ -569,7 +569,7 @@ proxy_prepare_offer_cb (GObject *source,
if (self->priv->state != TP_TUBE_CHANNEL_STATE_NOT_OFFERED)
{
- g_simple_async_result_set_error (self->priv->result, TP_ERRORS,
+ g_simple_async_result_set_error (self->priv->result, TP_ERROR,
TP_ERROR_INVALID_ARGUMENT, "Tube is not in the NotOffered state");
complete_operation (self);
goto out;
@@ -694,7 +694,7 @@ proxy_prepare_accept_cb (GObject *source,
if (self->priv->state != TP_TUBE_CHANNEL_STATE_LOCAL_PENDING)
{
- g_simple_async_result_set_error (self->priv->result, TP_ERRORS,
+ g_simple_async_result_set_error (self->priv->result, TP_ERROR,
TP_ERROR_INVALID_ARGUMENT, "Tube is not in the LocalPending state");
complete_operation (self);
return;