diff options
author | Matthias Vogelgesang <matthias.vogelgesang@gmail.com> | 2012-06-12 10:21:55 +0200 |
---|---|---|
committer | Matthias Vogelgesang <matthias.vogelgesang@gmail.com> | 2012-06-12 10:21:55 +0200 |
commit | 580dae2183e27ccec00f127b85188df143f49c54 (patch) | |
tree | 35e43a1587a8b624218006e2e41d73c28dd1b160 /src/uca-camera.h | |
parent | 733da14c66d347bb2ae452766a36bf3c1381cacd (diff) | |
download | uca-580dae2183e27ccec00f127b85188df143f49c54.tar.gz uca-580dae2183e27ccec00f127b85188df143f49c54.tar.bz2 uca-580dae2183e27ccec00f127b85188df143f49c54.tar.xz uca-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.h | 2 |
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, |