summaryrefslogtreecommitdiff
path: root/examples/cm/call/call-manager.c
diff options
context:
space:
mode:
Diffstat (limited to 'examples/cm/call/call-manager.c')
-rw-r--r--examples/cm/call/call-manager.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/cm/call/call-manager.c b/examples/cm/call/call-manager.c
index 8f1ac61be..64c7992df 100644
--- a/examples/cm/call/call-manager.c
+++ b/examples/cm/call/call-manager.c
@@ -439,7 +439,7 @@ example_call_manager_request (ExampleCallManager *self,
if (!initial_audio && !initial_video)
{
- g_set_error (&error, TP_ERRORS, TP_ERROR_NOT_IMPLEMENTED,
+ g_set_error (&error, TP_ERROR, TP_ERROR_NOT_IMPLEMENTED,
"Call channels must initially have either audio or video content");
goto error;
}
@@ -460,7 +460,7 @@ example_call_manager_request (ExampleCallManager *self,
* from the other. For simplicity, this example simulates a protocol
* where this is not the case.
*/
- g_set_error (&error, TP_ERRORS, TP_ERROR_NOT_IMPLEMENTED,
+ g_set_error (&error, TP_ERROR, TP_ERROR_NOT_IMPLEMENTED,
"In this protocol, you can't call yourself");
goto error;
}