From ebf28bda1b4a1ca126b52218d1852c7dd8e23ce8 Mon Sep 17 00:00:00 2001 From: Sascha Silbe Date: Tue, 22 May 2012 16:33:57 +0200 Subject: [PATCH] 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. --- src/up-qos.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/up-qos.c b/src/up-qos.c index 43b8eb5..9484931 100644 --- a/src/up-qos.c +++ b/src/up-qos.c @@ -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, -- 1.7.10