-
Dan Williams authored
NM emits coalesced PropertiesChanged signals, which might be delayed slightly and thus sent after the StateChanged signal for devices. Clients of libnm-glib listening for the 'state-changed' signal and then querying the state manually using nm_device_get_state() would still see the old state until it was updated via the delayed PropertiesChanged signal processing. Since when the StateChanged signal comes in the device is already in the new state, just update the state and leave the GObject property notify signal to the PropertiesChanged signal handling code so that clients have an accurate device state.
aef4340e