mirror of
https://gitlab.freedesktop.org/upower/upower.git
synced 2026-06-07 03:58:23 +02:00
Fix the LatencyChanged signal
The type of the 'value' parameter of the LatencyChanged signal is integer, not boolean. Fixing this causes the signal to actually be emitted. Signed-off-by: Richard Hughes <richard@hughsie.com>
This commit is contained in:
parent
616d6d6b96
commit
944118a879
1 changed files with 1 additions and 1 deletions
|
|
@ -534,7 +534,7 @@ up_qos_class_init (UpQosClass *klass)
|
|||
G_TYPE_FROM_CLASS (object_class), G_SIGNAL_RUN_LAST,
|
||||
G_STRUCT_OFFSET (UpQosClass, latency_changed),
|
||||
NULL, NULL, up_marshal_VOID__STRING_INT,
|
||||
G_TYPE_NONE, 2, G_TYPE_STRING, G_TYPE_BOOLEAN);
|
||||
G_TYPE_NONE, 2, G_TYPE_STRING, G_TYPE_INT);
|
||||
signals [REQUESTS_CHANGED] =
|
||||
g_signal_new ("requests-changed",
|
||||
G_TYPE_FROM_CLASS (object_class), G_SIGNAL_RUN_LAST,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue