diff options
author | Mike Gorse <mgorse@novell.com> | 2011-05-29 17:46:39 -0500 |
---|---|---|
committer | Mike Gorse <mgorse@novell.com> | 2011-05-29 17:46:39 -0500 |
commit | 7afb51e5093fef46c699d92ee8eee94f5b6886fb (patch) | |
tree | 153ccf97b6b3c6c8b6fa1fd263c0306b91c1e328 /atspi/atspi-types.h | |
parent | e5198adbcc277c6dc22ecf022b4b7504292b7ce0 (diff) | |
download | at-spi2-core-7afb51e5093fef46c699d92ee8eee94f5b6886fb.tar.gz |
Enum clean-upsenum-types
Generate enum types where appropriate.
Fix prototypes where a method took a "gint" that was really a bitflag.
Remove tables of state and role names, since these are now redundant with data
from the generated enums and would need to be maintained in parallel.
These changes were originally in master but have been backed out since they
break compatibility with pygobject 2.26.0, which some users are still using.
Diffstat (limited to 'atspi/atspi-types.h')
-rw-r--r-- | atspi/atspi-types.h | 6 |
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_ */ |