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:
Beniamino Galvani 2024-04-02 22:09:28 +02:00
parent 3f24b99e86
commit 044620f8ad

View file

@ -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);
}