summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Haller <thaller@redhat.com>2017-02-23 12:28:05 +0100
committerThomas Haller <thaller@redhat.com>2017-02-23 12:33:41 +0100
commit9a8f8e8a897a2d19d5dbbb9632cff4720ae1c7cf (patch)
tree1e69d7703eb5f64826028a20a65908c620f92631
parent42f60e30adb8cf6d467726c37d9d46ec3eb53903 (diff)
downloadNetworkManager-9a8f8e8a897a2d19d5dbbb9632cff4720ae1c7cf.tar.gz
modem: remove unused variadic argument when emitting NM_MODEM_STATE_CHANGED signal
The signal only has two arguments, no reason.
-rw-r--r--src/devices/wwan/nm-modem.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/devices/wwan/nm-modem.c b/src/devices/wwan/nm-modem.c
index 4bffbc24b1..fd9ae50025 100644
--- a/src/devices/wwan/nm-modem.c
+++ b/src/devices/wwan/nm-modem.c
@@ -158,7 +158,7 @@ nm_modem_set_state (NMModem *self,
priv->state = new_state;
_notify (self, PROP_STATE);
- g_signal_emit (self, signals[STATE_CHANGED], 0, (int) new_state, (int) old_state, reason);
+ g_signal_emit (self, signals[STATE_CHANGED], 0, (int) new_state, (int) old_state);
}
}