summaryrefslogtreecommitdiff
path: root/atspi/atspi-registry.c
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.c
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.c')
-rw-r--r--atspi/atspi-registry.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/atspi/atspi-registry.c b/atspi/atspi-registry.c
index 9856be3d..51392d00 100644
--- a/atspi/atspi-registry.c
+++ b/atspi/atspi-registry.c
@@ -119,7 +119,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)
{
GArray *d_key_set;
gchar *path = _atspi_device_listener_get_path (listener);