diff options
author | Ben Chan <benchan@chromium.org> | 2013-12-04 23:44:15 -0800 |
---|---|---|
committer | Dan Williams <dcbw@redhat.com> | 2013-12-05 13:04:18 -0600 |
commit | 073163fb0b7fd1408029d986b7052638d357f69c (patch) | |
tree | 4b97755ac2ed6f10d0285ca01eac5afec4097bf1 | |
parent | 9a72f90cf7d36092be4fdb8fed35ac8146a97cc3 (diff) |
core: fix some typos in comments
-rw-r--r-- | src/mm-broadband-modem.c | 4 | ||||
-rw-r--r-- | src/mm-iface-modem.c | 4 | ||||
-rw-r--r-- | src/mm-serial-port.c | 2 |
3 files changed, 5 insertions, 5 deletions
diff --git a/src/mm-broadband-modem.c b/src/mm-broadband-modem.c index b2184ac6..195aff59 100644 --- a/src/mm-broadband-modem.c +++ b/src/mm-broadband-modem.c @@ -292,7 +292,7 @@ modem_create_bearer (MMIfaceModem *self, } /*****************************************************************************/ -/* Create SIM (Modem inteface) */ +/* Create SIM (Modem interface) */ static MMSim * modem_create_sim_finish (MMIfaceModem *self, @@ -4288,7 +4288,7 @@ unsolicited_registration_events_context_step (UnsolicitedRegistrationEventsConte /* All done! * If we have any error reported, we'll propagate it. EPS errors take - * precendence over PS errors and PS errors take precendence over CS errors. */ + * precedence over PS errors and PS errors take precedence over CS errors. */ if (ctx->eps_error) { g_simple_async_result_take_error (ctx->result, ctx->eps_error); ctx->eps_error = NULL; diff --git a/src/mm-iface-modem.c b/src/mm-iface-modem.c index 838e8ec2..befb0e22 100644 --- a/src/mm-iface-modem.c +++ b/src/mm-iface-modem.c @@ -1494,7 +1494,7 @@ get_updated_consolidated_state (MMIfaceModem *self, /* Reported subsystem states will be REGISTRATION-related. This means * that we would only expect a subset of the states being reported for - * the subystem. Warn if we get others */ + * the subsystem. Warn if we get others */ g_warn_if_fail (subsystem_state == MM_MODEM_STATE_ENABLED || subsystem_state == MM_MODEM_STATE_SEARCHING || subsystem_state == MM_MODEM_STATE_REGISTERED); @@ -2530,7 +2530,7 @@ mm_iface_modem_set_current_modes (MMIfaceModem *self, supported = mm_common_mode_combinations_variant_to_garray ( mm_gdbus_modem_get_supported_modes (ctx->skeleton)); - /* Don't allow mode switchin if only one item given in the supported list */ + /* Don't allow mode switching if only one item given in the supported list */ if (supported->len == 1) { g_simple_async_result_set_error (ctx->result, MM_CORE_ERROR, diff --git a/src/mm-serial-port.c b/src/mm-serial-port.c index 4aaac0ef..545e7074 100644 --- a/src/mm-serial-port.c +++ b/src/mm-serial-port.c @@ -1728,7 +1728,7 @@ mm_serial_port_class_init (MMSerialPortClass *klass) (object_class, PROP_FD, g_param_spec_int (MM_SERIAL_PORT_FD, "File descriptor", - "Fiel descriptor", + "File descriptor", -1, G_MAXINT, -1, G_PARAM_READWRITE | G_PARAM_CONSTRUCT_ONLY)); |