aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/mm-modem.c2
-rw-r--r--src/mm-modem.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/mm-modem.c b/src/mm-modem.c
index f8234723..d5351660 100644
--- a/src/mm-modem.c
+++ b/src/mm-modem.c
@@ -751,7 +751,7 @@ mm_modem_set_state (MMModem *self,
if (new_state != old_state) {
g_object_set (G_OBJECT (self), MM_MODEM_STATE, new_state, NULL);
- g_signal_emit_by_name (G_OBJECT (self), "state-changed", new_state, old_state, reason);
+ g_signal_emit_by_name (G_OBJECT (self), "state-changed", old_state, new_state, reason);
dbus_path = (const char *) g_object_get_data (G_OBJECT (self), DBUS_PATH_TAG);
if (dbus_path) {
diff --git a/src/mm-modem.h b/src/mm-modem.h
index 7f0bf58d..c478f701 100644
--- a/src/mm-modem.h
+++ b/src/mm-modem.h
@@ -207,8 +207,8 @@ struct _MMModem {
/* Signals */
void (*state_changed) (MMModem *self,
- MMModemState new_state,
MMModemState old_state,
+ MMModemState new_state,
MMModemStateReason reason);
};