aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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);