mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager
synced 2024-10-01 13:55:36 +00:00
power-monitor: fix "shutdown" signal definition
NMPowerMonitor emits the "shutdown" signal without arguments; fix the
definition of the signal.
Fixes: bd38a19832
('connection: add support to down-on-poweroff')
This commit is contained in:
parent
3f24b99e86
commit
044620f8ad
|
@ -354,8 +354,7 @@ nm_power_monitor_class_init(NMPowerMonitorClass *klass)
|
|||
0,
|
||||
NULL,
|
||||
NULL,
|
||||
g_cclosure_marshal_VOID__BOOLEAN,
|
||||
NULL,
|
||||
G_TYPE_NONE,
|
||||
1,
|
||||
G_TYPE_BOOLEAN);
|
||||
0);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue