summaryrefslogtreecommitdiff
path: root/telepathy-glib/call-content-media-description.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/call-content-media-description.c
parent2cc2520bcfa36c834dab111ebf41637bbfc8371f (diff)
downloadtelepathy-glib-9aec808ae99f5b06c816943fc1648358af0d8294.tar.gz
Stop using TP_ERRORS
We deprecated this in 0.11.
Diffstat (limited to 'telepathy-glib/call-content-media-description.c')
-rw-r--r--telepathy-glib/call-content-media-description.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/telepathy-glib/call-content-media-description.c b/telepathy-glib/call-content-media-description.c
index ff3725cf2..bc8339c85 100644
--- a/telepathy-glib/call-content-media-description.c
+++ b/telepathy-glib/call-content-media-description.c
@@ -1202,7 +1202,7 @@ tp_call_content_media_description_accept (TpSvcCallContentMediaDescription *ifac
TP_ARRAY_TYPE_CODEC_LIST);
if (!codecs || codecs->len == 0)
{
- GError error = { TP_ERRORS, TP_ERROR_INVALID_ARGUMENT,
+ GError error = { TP_ERROR, TP_ERROR_INVALID_ARGUMENT,
"Codecs can not be empty" };
dbus_g_method_return_error (context, &error);
return;
@@ -1213,7 +1213,7 @@ tp_call_content_media_description_accept (TpSvcCallContentMediaDescription *ifac
&valid);
if (valid && remote_contact != self->priv->remote_contact)
{
- GError error = { TP_ERRORS, TP_ERROR_INVALID_ARGUMENT,
+ GError error = { TP_ERROR, TP_ERROR_INVALID_ARGUMENT,
"Remote contact must the same as in request." };
dbus_g_method_return_error (context, &error);
return;
@@ -1240,7 +1240,7 @@ tp_call_content_media_description_reject (TpSvcCallContentMediaDescription *ifac
if (!self->priv->has_remote_information)
{
- GError error = { TP_ERRORS, TP_ERROR_INVALID_ARGUMENT,
+ GError error = { TP_ERROR, TP_ERROR_INVALID_ARGUMENT,
"Can not reject an empty Media Description" };
dbus_g_method_return_error (context, &error);
return;
@@ -1255,7 +1255,7 @@ tp_call_content_media_description_reject (TpSvcCallContentMediaDescription *ifac
}
g_simple_async_result_set_error (self->priv->result,
- TP_ERRORS, TP_ERROR_MEDIA_CODECS_INCOMPATIBLE,
+ TP_ERROR, TP_ERROR_MEDIA_CODECS_INCOMPATIBLE,
"Media description was rejected");
g_simple_async_result_complete (self->priv->result);
g_clear_object (&self->priv->result);