summaryrefslogtreecommitdiffstats
path: root/src/uca-camera.h
diff options
context:
space:
mode:
authorMatthias Vogelgesang <matthias.vogelgesang@gmail.com>2012-06-12 10:21:55 +0200
committerMatthias Vogelgesang <matthias.vogelgesang@gmail.com>2012-06-12 10:21:55 +0200
commit580dae2183e27ccec00f127b85188df143f49c54 (patch)
tree35e43a1587a8b624218006e2e41d73c28dd1b160 /src/uca-camera.h
parent733da14c66d347bb2ae452766a36bf3c1381cacd (diff)
downloadlibuca-580dae2183e27ccec00f127b85188df143f49c54.tar.gz
libuca-580dae2183e27ccec00f127b85188df143f49c54.tar.bz2
libuca-580dae2183e27ccec00f127b85188df143f49c54.tar.xz
libuca-580dae2183e27ccec00f127b85188df143f49c54.zip
Generate enum types from source
It became a little unwieldy to create the enum types manually via g_enums_register_static(). This changeset creates the types from enum definitions in public headers using glib2-mkenum. Be sure to include uca-enums.h in every source file that needs to know GObject enum type.
Diffstat (limited to 'src/uca-camera.h')
-rw-r--r--src/uca-camera.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/uca-camera.h b/src/uca-camera.h
index 39fd7ab..e2887a0 100644
--- a/src/uca-camera.h
+++ b/src/uca-camera.h
@@ -40,8 +40,6 @@ typedef enum {
UCA_CAMERA_ERROR_NOT_IMPLEMENTED
} UcaCameraError;
-#define UCA_TYPE_CAMERA_TRIGGER (uca_camera_trigger_get_type())
-
typedef enum {
UCA_CAMERA_TRIGGER_AUTO,
UCA_CAMERA_TRIGGER_INTERNAL,