summaryrefslogtreecommitdiffstats
path: root/tools/grab.c
diff options
context:
space:
mode:
authorMatthias Vogelgesang <matthias.vogelgesang@gmail.com>2013-03-13 18:07:21 +0100
committerMatthias Vogelgesang <matthias.vogelgesang@gmail.com>2013-03-13 18:07:21 +0100
commitca1a74cafa8f75a20e42bbdf501f5c8e8f184920 (patch)
treef4e99bbc93abad34e24f7db89d786adb8fbfc834 /tools/grab.c
parent0c2a3b8d2f35ccc4dc67616e430df7fb72cb5e62 (diff)
downloadlibuca-ca1a74cafa8f75a20e42bbdf501f5c8e8f184920.tar.gz
libuca-ca1a74cafa8f75a20e42bbdf501f5c8e8f184920.tar.bz2
libuca-ca1a74cafa8f75a20e42bbdf501f5c8e8f184920.tar.xz
libuca-ca1a74cafa8f75a20e42bbdf501f5c8e8f184920.zip
Use GInitable to pass properties to plugins
Diffstat (limited to 'tools/grab.c')
-rw-r--r--tools/grab.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/grab.c b/tools/grab.c
index 1518997..b020279 100644
--- a/tools/grab.c
+++ b/tools/grab.c
@@ -75,7 +75,7 @@ int main(int argc, char *argv[])
}
manager = uca_plugin_manager_new ();
- camera = uca_plugin_manager_get_camera (manager, argv[1], &error);
+ camera = uca_plugin_manager_get_camera (manager, argv[1], &error, NULL);
if (camera == NULL) {
g_print("Error during initialization: %s\n", error->message);