aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAleksander Morgado <aleksander@aleksander.es>2019-10-09 10:49:25 +0200
committerAleksander Morgado <aleksander@aleksander.es>2019-10-11 07:27:59 +0000
commitcf0d3f36fdad77999fe5411f6ab5607367f0dd83 (patch)
treefecfe79b8d10275eeb79db25dbe866601c78adbd
parent651bfd62b4c0ad06613541f8e8168832fc57da9a (diff)
iface-modem: avoid using MM_CORE_ERROR_CANCELLED
-rw-r--r--src/mm-iface-modem.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/mm-iface-modem.c b/src/mm-iface-modem.c
index c2845241..c2552a69 100644
--- a/src/mm-iface-modem.c
+++ b/src/mm-iface-modem.c
@@ -315,8 +315,8 @@ load_unlock_required_ready (MMIfaceModem *self,
/* For several kinds of errors, just return them directly */
if (error->domain == MM_SERIAL_ERROR ||
g_error_matches (error,
- MM_CORE_ERROR,
- MM_CORE_ERROR_CANCELLED) ||
+ G_IO_ERROR,
+ G_IO_ERROR_CANCELLED) ||
g_error_matches (error,
MM_MOBILE_EQUIPMENT_ERROR,
MM_MOBILE_EQUIPMENT_ERROR_SIM_NOT_INSERTED) ||
@@ -3316,8 +3316,8 @@ internal_load_unlock_required_ready (MMIfaceModem *self,
* state. */
if (error->domain == MM_SERIAL_ERROR ||
g_error_matches (error,
- MM_CORE_ERROR,
- MM_CORE_ERROR_CANCELLED)) {
+ G_IO_ERROR,
+ G_IO_ERROR_CANCELLED)) {
ctx->saved_error = error;
ctx->step = UPDATE_LOCK_INFO_CONTEXT_STEP_LAST;
update_lock_info_context_step (task);