From 9a9d460d500c3ed1aec25a5a9bc6b14b13612e75 Mon Sep 17 00:00:00 2001 From: Matthias Vogelgesang Date: Tue, 17 Apr 2012 11:28:47 +0200 Subject: Fix property setting --- test/test-mock.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'test') diff --git a/test/test-mock.c b/test/test-mock.c index a008504..c128bbf 100644 --- a/test/test-mock.c +++ b/test/test-mock.c @@ -79,7 +79,7 @@ static void test_recording_async(Fixture *fixture, gconstpointer data) uca_camera_set_grab_func(camera, grab_func, &success); g_object_set(G_OBJECT(camera), - "frame-rate", 10, + "frame-rate", 10.0, "transfer-asynchronously", TRUE, NULL); @@ -147,7 +147,7 @@ static void test_signal(Fixture *fixture, gconstpointer data) gboolean success = FALSE; g_signal_connect(camera, "notify::frame-rate", (GCallback) on_property_change, &success); g_object_set(G_OBJECT(camera), - "frame-rate", 30, + "frame-rate", 30.0, NULL); g_assert(success == TRUE); } -- cgit v1.2.3