diff options
author | Matthias Vogelgesang <matthias.vogelgesang@gmail.com> | 2012-10-08 14:38:16 +0200 |
---|---|---|
committer | Matthias Vogelgesang <matthias.vogelgesang@gmail.com> | 2012-10-08 14:38:16 +0200 |
commit | b3dbedeec78a55802565a3824ab52188e8b9bd4d (patch) | |
tree | 7529d8a8ce0a65ed94195631787c4cab6279709a /tools/grab.c | |
parent | d58bbe683873d043f50c8261f4588d7941e9cb8c (diff) | |
download | libuca-b3dbedeec78a55802565a3824ab52188e8b9bd4d.tar.gz libuca-b3dbedeec78a55802565a3824ab52188e8b9bd4d.tar.bz2 libuca-b3dbedeec78a55802565a3824ab52188e8b9bd4d.tar.xz libuca-b3dbedeec78a55802565a3824ab52188e8b9bd4d.zip |
Generate introspection files
Unfortunately, the gir tools recognize anything with $PREFIX_new_$SUFFIX as some
kind of constructor. This means that we have to rename
uca_plugin_manager_new_camera() to uca_plugin_manager_get_camera().
Diffstat (limited to 'tools/grab.c')
-rw-r--r-- | tools/grab.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/grab.c b/tools/grab.c index 1f5c917..1518997 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_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); |