mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-01-09 12:20:23 +01:00
auth-manager: emit signal by ID
It's more efficient, as it saves a lookup by name. Also, it's more idiomatic to do it this way. I didn't find where the signal gets emitted at first, because usually we don't emit by name.
This commit is contained in:
parent
290d02536c
commit
f8b74e19ea
1 changed files with 1 additions and 1 deletions
|
|
@ -353,7 +353,7 @@ static void
|
|||
_emit_changed_signal (NMAuthManager *self)
|
||||
{
|
||||
_LOGD ("emit changed signal");
|
||||
g_signal_emit_by_name (self, NM_AUTH_MANAGER_SIGNAL_CHANGED);
|
||||
g_signal_emit (self, signals[CHANGED_SIGNAL], 0);
|
||||
}
|
||||
|
||||
static void
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue