diff options
author | Matthias Vogelgesang <matthias.vogelgesang@gmail.com> | 2012-04-17 11:28:47 +0200 |
---|---|---|
committer | Matthias Vogelgesang <matthias.vogelgesang@gmail.com> | 2012-04-17 11:28:47 +0200 |
commit | 9a9d460d500c3ed1aec25a5a9bc6b14b13612e75 (patch) | |
tree | f8d9c5a7094b20a244beed8bd1dc9e88127cc1b4 | |
parent | 9f15006fc1783ba9e1425a516f5bdb435fe19d9e (diff) | |
download | libuca-9a9d460d500c3ed1aec25a5a9bc6b14b13612e75.tar.gz libuca-9a9d460d500c3ed1aec25a5a9bc6b14b13612e75.tar.bz2 libuca-9a9d460d500c3ed1aec25a5a9bc6b14b13612e75.tar.xz libuca-9a9d460d500c3ed1aec25a5a9bc6b14b13612e75.zip |
Fix property setting
-rw-r--r-- | test/test-mock.c | 4 |
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); } |