summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorMatthias Vogelgesang <matthias.vogelgesang@gmail.com>2012-04-17 11:28:47 +0200
committerMatthias Vogelgesang <matthias.vogelgesang@gmail.com>2012-04-17 11:28:47 +0200
commit9a9d460d500c3ed1aec25a5a9bc6b14b13612e75 (patch)
treef8d9c5a7094b20a244beed8bd1dc9e88127cc1b4 /test
parent9f15006fc1783ba9e1425a516f5bdb435fe19d9e (diff)
downloaduca-9a9d460d500c3ed1aec25a5a9bc6b14b13612e75.tar.gz
uca-9a9d460d500c3ed1aec25a5a9bc6b14b13612e75.tar.bz2
uca-9a9d460d500c3ed1aec25a5a9bc6b14b13612e75.tar.xz
uca-9a9d460d500c3ed1aec25a5a9bc6b14b13612e75.zip
Fix property setting
Diffstat (limited to 'test')
-rw-r--r--test/test-mock.c4
1 files changed, 2 insertions, 2 deletions
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);
}