diff options
author | Dan Williams <dcbw@redhat.com> | 2014-03-18 15:37:12 -0500 |
---|---|---|
committer | Dan Williams <dcbw@redhat.com> | 2014-03-18 15:43:17 -0500 |
commit | 5c4b551e7d069fefa725bf87586a4b0953bac52b (patch) | |
tree | dc5a311e114b32b79141a5db199eeae61adc88b6 | |
parent | 174149e0b639560dfcc79156271071125039c83e (diff) | |
download | NetworkManager-5c4b551e7d069fefa725bf87586a4b0953bac52b.tar.gz |
core: emit PropertyChanged signal for ActiveConnection when disconnecting
(cherry picked from commit 9c5c0cca7fc3ba9fc819df4c1c6d0144cdd6975d)
-rw-r--r-- | src/nm-device.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nm-device.c b/src/nm-device.c index 30d2437de1..0fe6397b89 100644 --- a/src/nm-device.c +++ b/src/nm-device.c @@ -3611,8 +3611,8 @@ clear_act_request (NMDevice *self) nm_active_connection_set_default (NM_ACTIVE_CONNECTION (priv->act_request), FALSE); - g_object_unref (priv->act_request); - priv->act_request = NULL; + g_clear_object (&priv->act_request); + g_object_notify (G_OBJECT (self), NM_DEVICE_ACTIVE_CONNECTION); } static void |