summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSascha Silbe <silbe@activitycentral.com>2012-05-22 16:33:57 +0200
committerRichard Hughes <richard@hughsie.com>2012-05-22 18:51:42 +0100
commit944118a879bf8c9cdb6bf3293d4d45e06ad41ef0 (patch)
treee06cb36fa4173210d1250a5b1fa71bdf16e6e480
parent616d6d6b969e31e9a06feba8876cff79cb50948e (diff)
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>
-rw-r--r--src/up-qos.c2
1 files changed, 1 insertions, 1 deletions
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,