From 8479f956c948dfbe4ca1808cee70f59cc8c06be0 Mon Sep 17 00:00:00 2001 From: Matthias Vogelgesang Date: Mon, 1 Dec 2014 11:39:12 +0100 Subject: Fix grab if Python is not used --- src/uca-camera.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/uca-camera.c') diff --git a/src/uca-camera.c b/src/uca-camera.c index 2de1489..50a9aea 100644 --- a/src/uca-camera.c +++ b/src/uca-camera.c @@ -967,6 +967,9 @@ uca_camera_grab (UcaCamera *camera, gpointer data, GError **error) Py_END_ALLOW_THREADS PyGILState_Release (state); } + else { + result = (*klass->grab) (camera, data, error); + } #else result = (*klass->grab) (camera, data, error); #endif -- cgit v1.2.3