2005-10-27 Christopher Aillon <caillon@redhat.com>
* src/nm-vpn-service.c: Only signal the bus that state changed if old_state != new_state git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1083 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
This commit is contained in:

committed by
Chris Aillon

parent
044acdad23
commit
0aa2f997e4
@@ -1,3 +1,8 @@
|
|||||||
|
2005-10-27 Christopher Aillon <caillon@redhat.com>
|
||||||
|
|
||||||
|
* src/nm-vpn-service.c: Only signal the bus that state
|
||||||
|
changed if old_state != new_state
|
||||||
|
|
||||||
2005-10-17 Christopher Aillon <caillon@redhat.com>
|
2005-10-17 Christopher Aillon <caillon@redhat.com>
|
||||||
|
|
||||||
* configure.in: Bump version to 0.5.0
|
* configure.in: Bump version to 0.5.0
|
||||||
|
@@ -179,8 +179,12 @@ static void nm_vpnc_set_state (NmVpncData *data, NMVPNState new_state)
|
|||||||
g_return_if_fail (data != NULL);
|
g_return_if_fail (data != NULL);
|
||||||
|
|
||||||
old_state = data->state;
|
old_state = data->state;
|
||||||
|
|
||||||
|
if (old_state != new_state)
|
||||||
|
{
|
||||||
data->state = new_state;
|
data->state = new_state;
|
||||||
nm_vpnc_dbus_signal_state_change (data, old_state);
|
nm_vpnc_dbus_signal_state_change (data, old_state);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user