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/contact-list-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/contact-list-channel.c')
-rw-r--r-- | telepathy-glib/contact-list-channel.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/telepathy-glib/contact-list-channel.c b/telepathy-glib/contact-list-channel.c index cd5db353c..6346da8b3 100644 --- a/telepathy-glib/contact-list-channel.c +++ b/telepathy-glib/contact-list-channel.c @@ -219,7 +219,7 @@ tp_base_contact_list_channel_check_still_usable ( { if (self->manager == NULL) { - GError e = { TP_ERRORS, TP_ERROR_TERMINATED, "Channel already closed" }; + GError e = { TP_ERROR, TP_ERROR_TERMINATED, "Channel already closed" }; dbus_g_method_return_error (context, &e); return FALSE; } @@ -340,7 +340,7 @@ static void list_channel_close (TpSvcChannel *iface G_GNUC_UNUSED, DBusGMethodInvocation *context) { - GError e = { TP_ERRORS, TP_ERROR_NOT_IMPLEMENTED, + GError e = { TP_ERROR, TP_ERROR_NOT_IMPLEMENTED, "ContactList channels with handle type LIST may not be closed" }; dbus_g_method_return_error (context, &e); @@ -358,7 +358,7 @@ group_channel_close (TpSvcChannel *iface, if (tp_handle_set_size (self->group.members) > 0) { - g_set_error (&error, TP_ERRORS, TP_ERROR_NOT_AVAILABLE, + g_set_error (&error, TP_ERROR, TP_ERROR_NOT_AVAILABLE, "Non-empty groups may not be deleted (closed)"); goto error; } |