diff options
author | Lubomir Rintel <lkundrak@v3.sk> | 2017-03-05 17:20:27 +0100 |
---|---|---|
committer | Lubomir Rintel <lkundrak@v3.sk> | 2017-03-17 10:21:19 +0100 |
commit | 40ffb962bec3700e447254d4a1cc93f21b8a25dd (patch) | |
tree | aec9023a54187928196e0cc5dfddb232e8016790 /src | |
parent | 8b649a8c84c0d46c1d4108da34567ee37765acd8 (diff) |
libnm/active-connection: track reason for state changes
Note that the reason tracking starts as soon as the object exists (which
is immediately after GDBusObject is created), not when the asynchronous
NMObject initialization finishes. That is so that we the reason changes
in between are not lost.
The vpn-connection should probably be doing the same.
Diffstat (limited to 'src')
-rw-r--r-- | src/nm-active-connection.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nm-active-connection.c b/src/nm-active-connection.c index eb528da8c..ee28f0f25 100644 --- a/src/nm-active-connection.c +++ b/src/nm-active-connection.c @@ -238,7 +238,7 @@ nm_active_connection_set_state (NMActiveConnection *self, old_state = priv->state; priv->state = new_state; priv->state_set = TRUE; - g_signal_emit (self, signals[STATE_CHANGED], 0, new_state, reason); + g_signal_emit (self, signals[STATE_CHANGED], 0, (guint) new_state, (guint) reason); _notify (self, PROP_STATE); check_master_ready (self); |