diff options
author | Matthias Vogelgesang <matthias.vogelgesang@kit.edu> | 2012-03-08 11:24:12 +0100 |
---|---|---|
committer | Matthias Vogelgesang <matthias.vogelgesang@kit.edu> | 2012-03-08 11:24:12 +0100 |
commit | d856ae8dc3ef07e6aa568cdbc2f5a2a8296778f3 (patch) | |
tree | cd37942d7f87ab3baf95ff25fedf6f609a4df378 /test | |
parent | eae2ae49770bcbcdbac3997676c71820dd53fdcc (diff) | |
download | libuca-d856ae8dc3ef07e6aa568cdbc2f5a2a8296778f3.tar.gz libuca-d856ae8dc3ef07e6aa568cdbc2f5a2a8296778f3.tar.bz2 libuca-d856ae8dc3ef07e6aa568cdbc2f5a2a8296778f3.tar.xz libuca-d856ae8dc3ef07e6aa568cdbc2f5a2a8296778f3.zip |
Quick fix for openSUSE 11.3 with GLib 2.24
Diffstat (limited to 'test')
-rw-r--r-- | test/test-mock.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/test-mock.c b/test/test-mock.c index a9284cf..a008504 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), - "framerate", 10, + "frame-rate", 10, "transfer-asynchronously", TRUE, NULL); @@ -145,9 +145,9 @@ static void test_signal(Fixture *fixture, gconstpointer data) { UcaCamera *camera = UCA_CAMERA(fixture->camera); gboolean success = FALSE; - g_signal_connect(camera, "notify::framerate", (GCallback) on_property_change, &success); + g_signal_connect(camera, "notify::frame-rate", (GCallback) on_property_change, &success); g_object_set(G_OBJECT(camera), - "framerate", 30, + "frame-rate", 30, NULL); g_assert(success == TRUE); } |