[at-spi2-core] Fix a few warnings and documentation issues



commit dc111c3d341e267cca49dcb6ed37084840c3f669
Author: Mike Gorse <mgorse novell com>
Date:   Tue Dec 21 17:27:26 2010 -0500

    Fix a few warnings and documentation issues

 atspi/atspi-accessible.c     |    2 +-
 atspi/atspi-event-listener.c |    4 +---
 atspi/atspi-registry.c       |    2 +-
 3 files changed, 3 insertions(+), 5 deletions(-)
---
diff --git a/atspi/atspi-accessible.c b/atspi/atspi-accessible.c
index 70ec533..44b6306 100644
--- a/atspi/atspi-accessible.c
+++ b/atspi/atspi-accessible.c
@@ -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.
diff --git a/atspi/atspi-event-listener.c b/atspi/atspi-event-listener.c
index 1725bc1..438cb78 100644
--- a/atspi/atspi-event-listener.c
+++ b/atspi/atspi-event-listener.c
@@ -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
diff --git a/atspi/atspi-registry.c b/atspi/atspi-registry.c
index 86bde7d..84bd4d8 100644
--- a/atspi/atspi-registry.c
+++ b/atspi/atspi-registry.c
@@ -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.



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