summaryrefslogtreecommitdiff
path: root/atspi/atspi-registry.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-registry.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-registry.h')
-rw-r--r--atspi/atspi-registry.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/atspi/atspi-registry.h b/atspi/atspi-registry.h
index 03086dc1..f8bf42fa 100644
--- a/atspi/atspi-registry.h
+++ b/atspi/atspi-registry.h
@@ -42,7 +42,8 @@ atspi_register_keystroke_listener (AtspiDeviceListener *listener,
GArray *key_set,
AtspiKeyMaskType modmask,
AtspiKeyEventMask event_types,
- gint sync_type, GError **error);
+ AtspiKeyListenerSyncType sync_type,
+ GError **error);
gboolean
atspi_deregister_keystroke_listener (AtspiDeviceListener *listener,