From e2661ee0aa213120ef82002518b6f3cf6fe944b5 Mon Sep 17 00:00:00 2001 From: Mike Gorse Date: Tue, 14 May 2013 13:00:54 -0500 Subject: [PATCH] Annotate filter to allow none for device event listeners Atspi_register_device_event_listener and atspi_deregister_device_event_listener take a filter (currently unused). It can be NULL, so it should be annotated as such. https://bugzilla.gnome.org/show_bug.cgi?id=700237 --- atspi/atspi-registry.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/atspi/atspi-registry.c b/atspi/atspi-registry.c index fa87660..8722b37 100644 --- a/atspi/atspi-registry.c +++ b/atspi/atspi-registry.c @@ -348,7 +348,7 @@ atspi_deregister_keystroke_listener (AtspiDeviceListener *listener, * the events. * @event_types: an #AtspiDeviceEventMask mask indicating which * types of key events are requested (%ATSPI_KEY_PRESSED, etc.). - * @filter: Unused parameter. + * @filter: (allow-none): Unused parameter. * @error: (allow-none): a pointer to a %NULL #GError pointer, or %NULL * * Registers a listener for device events, for instance button events. @@ -386,7 +386,7 @@ atspi_register_device_event_listener (AtspiDeviceListener *listener, * atspi_deregister_device_event_listener: * @listener: a pointer to the #AtspiDeviceListener for which * device events are requested. - * @filter: Unused parameter. + * @filter: (allow-none): Unused parameter. * @error: (allow-none): a pointer to a %NULL #GError pointer, or %NULL * * Removes a device event listener from the registry's listener queue, -- 2.7.4