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:
Sascha Silbe 2012-05-22 16:33:57 +02:00 committed by Richard Hughes
parent 616d6d6b96
commit 944118a879

View file

@ -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,