summaryrefslogtreecommitdiff
path: root/src/call-stream.c
diff options
context:
space:
mode:
authorSimon McVittie <simon.mcvittie@collabora.co.uk>2012-05-07 16:58:51 +0100
committerSimon McVittie <simon.mcvittie@collabora.co.uk>2012-05-07 19:19:23 +0100
commitc4b8ceb361748495be477bd3de49ac87c1a5bb2a (patch)
tree5d672f752e85c6635db8a6a531668faeb89c12a6 /src/call-stream.c
parenteda09f9123a74dcc7e1b5ad52816ff70d794dec2 (diff)
downloadtelepathy-gabble-c4b8ceb361748495be477bd3de49ac87c1a5bb2a.tar.gz
Use TP_ERROR instead of deprecated TP_ERRORS
Bug: https://bugs.freedesktop.org/show_bug.cgi?id=49596 Reviewed-by: Xavier Claessens <xavier.claessens@collabora.co.uk>
Diffstat (limited to 'src/call-stream.c')
-rw-r--r--src/call-stream.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/call-stream.c b/src/call-stream.c
index a25365db9..4e2aff980 100644
--- a/src/call-stream.c
+++ b/src/call-stream.c
@@ -584,7 +584,7 @@ gabble_call_stream_add_candidates (TpBaseMediaCallStream *stream,
if (accepted_candidates->len == 0 && candidates->len != 0)
{
- g_set_error_literal (error, TP_ERRORS, TP_ERROR_INVALID_ARGUMENT,
+ g_set_error_literal (error, TP_ERROR, TP_ERROR_INVALID_ARGUMENT,
"All candidates had the wrong Type");
tp_clear_pointer (&accepted_candidates, g_ptr_array_unref);
}