summaryrefslogtreecommitdiff
path: root/atspi/atspi-types.h
diff options
context:
space:
mode:
authorMike Gorse <mgorse@novell.com>2011-05-24 16:24:09 -0500
committerMike Gorse <mgorse@novell.com>2011-05-24 16:24:09 -0500
commita12d7458110c57e183916255d701b1e0d7c070e1 (patch)
treebaff102f3ef5f6ee810a358df5fa8e7de8c07817 /atspi/atspi-types.h
parent0c73fcca6252a95beea2fcf6d5ea39c0e5e16b6f (diff)
downloadat-spi2-core-a12d7458110c57e183916255d701b1e0d7c070e1.tar.gz
Clean up enums
Use glib-enums to generate GTypes for enums, and modify enum definitions so that they will be marked as bitflags where appropriate. This helps with introspection and allows functions that take flags to be prototyped as such rather than being marked as taking a gint.
Diffstat (limited to 'atspi/atspi-types.h')
-rw-r--r--atspi/atspi-types.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/atspi/atspi-types.h b/atspi/atspi-types.h
index e56f93f0..4e8dc1ac 100644
--- a/atspi/atspi-types.h
+++ b/atspi/atspi-types.h
@@ -143,8 +143,8 @@ typedef struct _AtspiKeySet
**/
typedef enum {
ATSPI_KEYLISTENER_NOSYNC = 0,
- ATSPI_KEYLISTENER_SYNCHRONOUS = 1,
- ATSPI_KEYLISTENER_CANCONSUME = 2,
- ATSPI_KEYLISTENER_ALL_WINDOWS = 4
+ ATSPI_KEYLISTENER_SYNCHRONOUS = 1 << 0,
+ ATSPI_KEYLISTENER_CANCONSUME = 1 << 1,
+ ATSPI_KEYLISTENER_ALL_WINDOWS = 1 << 2
} AtspiKeyListenerSyncType;
#endif /* _ATSPI_TYPES_H_ */