From 42e3c64fa57039d7673c61f909b5fd40a437bdfd Mon Sep 17 00:00:00 2001 From: Matthias Vogelgesang Date: Thu, 19 Apr 2012 16:45:11 +0200 Subject: Export base properties and string array The benefits are two-fold: Camera implementations "know" which base properties exist without looking into the implementation source. Moreover, they can re-use the property strings rather than stating them over and over again. These change should reduce potential c&p errors. --- test/test-all.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/test-all.c') diff --git a/test/test-all.c b/test/test-all.c index 941c0cd..37af97d 100644 --- a/test/test-all.c +++ b/test/test-all.c @@ -75,7 +75,7 @@ static void test_recording_async(Fixture *fixture, gconstpointer data) gfloat max_frame_rate = 1.0f; g_object_get(G_OBJECT(camera), - "max-frame-rate", &max_frame_rate, + "sensor-max-frame-rate", &max_frame_rate, NULL); g_assert(max_frame_rate != 0.0f); -- cgit v1.2.3