Don't crash if we get a object:children-changed event with a non-existent child
[platform/upstream/at-spi2-core.git] / atspi / atspi-registry.h
index 3716f61..18e32a6 100644 (file)
@@ -44,7 +44,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,