mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-01-29 14:40:24 +01:00
device: emit NM_DEVICE_STATE_CHANGED signal by id
This saves a lookup of the ID by name. We already have the signal-id, use it.
This commit is contained in:
parent
805925f9ef
commit
534b0360c1
1 changed files with 1 additions and 1 deletions
|
|
@ -11259,7 +11259,7 @@ _set_state_full (NMDevice *self,
|
|||
|
||||
_notify (self, PROP_STATE);
|
||||
_notify (self, PROP_STATE_REASON);
|
||||
g_signal_emit_by_name (self, NM_DEVICE_STATE_CHANGED, state, old_state, reason);
|
||||
g_signal_emit (self, signals[STATE_CHANGED], 0, state, old_state, reason);
|
||||
|
||||
/* Post-process the event after internal notification */
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue