aboutsummaryrefslogtreecommitdiff
path: root/src/mm-modem.c
diff options
context:
space:
mode:
authorJason Glasgow <jglasgow@google.com>2011-03-31 15:29:12 -0500
committerDan Williams <dcbw@redhat.com>2011-03-31 15:29:12 -0500
commit2dbca0baf853bea1df0723d3c8fb2f94dadf3eb3 (patch)
tree408d70f159e44dff00eaea56335b08b2af2b5a87 /src/mm-modem.c
parent68038cb92627f6ea012ffca6f11ce9279432af07 (diff)
core: make modem StateChanged signal consistent with API documentation
The new and old state arguments were flipped.
Diffstat (limited to 'src/mm-modem.c')
-rw-r--r--src/mm-modem.c2
1 files changed, 1 insertions, 1 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) {