summaryrefslogtreecommitdiffstats
path: root/tools/grab-async.c
diff options
context:
space:
mode:
Diffstat (limited to 'tools/grab-async.c')
-rw-r--r--tools/grab-async.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/grab-async.c b/tools/grab-async.c
index 6132829..2c4bf04 100644
--- a/tools/grab-async.c
+++ b/tools/grab-async.c
@@ -94,7 +94,7 @@ main(int argc, char *argv[])
}
manager = uca_plugin_manager_new ();
- camera = uca_plugin_manager_new_camera (manager, argv[1], &error);
+ camera = uca_plugin_manager_get_camera (manager, argv[1], &error);
if (camera == NULL) {
g_print("Error during initialization: %s\n", error->message);