Fix a few warnings and documentation issues
authorMike Gorse <mgorse@novell.com>
Tue, 21 Dec 2010 22:27:26 +0000 (17:27 -0500)
committerMike Gorse <mgorse@novell.com>
Tue, 21 Dec 2010 22:27:26 +0000 (17:27 -0500)
atspi/atspi-accessible.c
atspi/atspi-event-listener.c
atspi/atspi-registry.c

index 70ec533..44b6306 100644 (file)
@@ -985,7 +985,7 @@ atspi_accessible_get_editable_text (AtspiAccessible *accessible)
 
 /**
  * atspi_accessible_get_hyperlink:
- * @accessible: a pointer to the #AtspiAccessible object on which to operate.
+ * @obj: a pointer to the #AtspiAccessible object on which to operate.
  *
  * Get the #AtspiHyperlink associated with the given #AtspiAccessible, if
  * supported.
index 1725bc1..438cb78 100644 (file)
@@ -62,7 +62,7 @@ typedef struct
 static GHashTable *callbacks;
 
 void
-callback_ref (void *callback, GDestroyNotify *callback_destroyed)
+callback_ref (void *callback, GDestroyNotify callback_destroyed)
 {
   CallbackInfo *info;
 
@@ -374,8 +374,6 @@ listener_entry_free (EventListenerEntry *e)
 /**
  * atspi_event_listener_register:
  * @listener: The #AtspiEventListener to register against an event type.
- * @user_data: (closure): User data to be passed to the callback.
- * @callback_destroyed: A #GDestroyNotify called when the callback is destroyed.
  * @event_type: a character string indicating the type of events for which
  *            notification is requested.  Format is
  *            EventClass:major_type:minor_type:detail
index 86bde7d..84bd4d8 100644 (file)
@@ -106,7 +106,7 @@ atspi_get_desktop_list ()
  *             events with multiple modifier combinations you must call
  *             register_keystroke_listener() once for each
  *             combination.
- * @eventmask: an #AtspiKeyMaskType mask indicating which
+ * @modmask: an #AtspiKeyMaskType mask indicating which
  *             types of key events are requested (#ATSPI_KEY_PRESSED, etc.).
  * @sync_type: a #AtspiKeyListenerSyncType parameter indicating
  *             the behavior of the notification/listener transaction.