Skip atspi_(event|device)_listener_new_simple
authorMike Gorse <mgorse@suse.com>
Mon, 15 Jul 2013 18:17:18 +0000 (13:17 -0500)
committerMike Gorse <mgorse@suse.com>
Mon, 15 Jul 2013 18:17:18 +0000 (13:17 -0500)
These are intended as C convenience functions. Gjs doesn't support
having a GDestroyNotify without a user_data and prints out a warning, so
might as well skip for purposes of introspection.

atspi/atspi-device-listener.c
atspi/atspi-event-listener.c

index 3ed34e5..3ac4451 100644 (file)
@@ -230,7 +230,7 @@ atspi_device_listener_new (AtspiDeviceListenerCB callback,
 }
 
 /**
- * atspi_device_listener_new_simple:
+ * atspi_device_listener_new_simple: (skip)
  * @callback: (scope notified): an #AtspiDeviceListenerCB callback function,
  *            or NULL.
  * @callback_destroyed: A #GDestroyNotify called when the listener is freed
index e545bda..bd44f66 100644 (file)
@@ -141,7 +141,7 @@ atspi_event_listener_new (AtspiEventListenerCB callback,
 }
 
 /**
- * atspi_event_listener_new_simple:
+ * atspi_event_listener_new_simple: (skip)
  * @callback: (scope notified): An #AtspiEventListenerSimpleCB to be called
  * when an event is fired.
  * @callback_destroyed: A #GDestroyNotify called when the listener is freed