aboutsummaryrefslogtreecommitdiff
path: root/src/mm-call-list.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mm-call-list.c')
-rw-r--r--src/mm-call-list.c15
1 files changed, 8 insertions, 7 deletions
diff --git a/src/mm-call-list.c b/src/mm-call-list.c
index 1cc1f543..9457bb2b 100644
--- a/src/mm-call-list.c
+++ b/src/mm-call-list.c
@@ -283,13 +283,14 @@ mm_call_list_delete_call (MMCallList *self,
(gpointer)call_path,
(GCompareFunc)cmp_call_by_path);
if (!l) {
- g_simple_async_report_error_in_idle (G_OBJECT (self),
- callback,
- user_data,
- MM_CORE_ERROR,
- MM_CORE_ERROR_NOT_FOUND,
- "No CALL found with path '%s'",
- call_path);
+ g_task_report_new_error (self,
+ callback,
+ user_data,
+ mm_call_list_delete_call,
+ MM_CORE_ERROR,
+ MM_CORE_ERROR_NOT_FOUND,
+ "No CALL found with path '%s'",
+ call_path);
return;
}