aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAleksander Morgado <aleksander@aleksander.es>2019-10-09 10:49:13 +0200
committerAleksander Morgado <aleksander@aleksander.es>2019-10-11 07:27:59 +0000
commitfa453a17a5197ebec793056bb23895a887fb093a (patch)
tree7d45f0b952f71a13b23436e05cd45444e0dbbd10
parentcff3be23c0f8dfa49641a8381f9d811b0f7fd0c7 (diff)
iface-modem-voice: avoid using MM_CORE_ERROR_CANCELLED
-rw-r--r--src/mm-iface-modem-voice.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mm-iface-modem-voice.c b/src/mm-iface-modem-voice.c
index 1c7af9c0..bcd8dc1a 100644
--- a/src/mm-iface-modem-voice.c
+++ b/src/mm-iface-modem-voice.c
@@ -2165,7 +2165,7 @@ in_call_cleanup_ready (MMIfaceModemVoice *self,
if (!in_call_cleanup_finish (self, res, &error)) {
/* ignore cancelled operations */
- if (!g_error_matches (error, G_IO_ERROR, G_IO_ERROR_CANCELLED) && !g_error_matches (error, MM_CORE_ERROR, MM_CORE_ERROR_CANCELLED))
+ if (!g_error_matches (error, G_IO_ERROR, G_IO_ERROR_CANCELLED))
mm_warn ("Cannot cleanup in-call modem state: %s", error->message);
g_clear_error (&error);
} else {
@@ -2189,7 +2189,7 @@ in_call_setup_ready (MMIfaceModemVoice *self,
if (!in_call_setup_finish (self, res, &ctx->audio_port, &ctx->audio_format, &error)) {
/* ignore cancelled operations */
- if (!g_error_matches (error, G_IO_ERROR, G_IO_ERROR_CANCELLED) && !g_error_matches (error, MM_CORE_ERROR, MM_CORE_ERROR_CANCELLED))
+ if (!g_error_matches (error, G_IO_ERROR, G_IO_ERROR_CANCELLED))
mm_warn ("Cannot setup in-call modem state: %s", error->message);
g_clear_error (&error);
} else {