From 580dae2183e27ccec00f127b85188df143f49c54 Mon Sep 17 00:00:00 2001 From: Matthias Vogelgesang Date: Tue, 12 Jun 2012 10:21:55 +0200 Subject: 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. --- src/uca-camera.h | 2 -- 1 file changed, 2 deletions(-) (limited to 'src/uca-camera.h') 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, -- cgit v1.2.3