[at-spi2-core] Annotate filter to allow none for device event listeners



commit e2661ee0aa213120ef82002518b6f3cf6fe944b5
Author: Mike Gorse <mgorse suse com>
Date:   Tue May 14 13:00:54 2013 -0500

    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 files 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,


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]