From: Mike Gorse Date: Tue, 21 Dec 2010 22:27:26 +0000 (-0500) Subject: Fix a few warnings and documentation issues X-Git-Tag: AT_SPI2_CORE_1_91_5~37 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;ds=sidebyside;h=dc111c3d341e267cca49dcb6ed37084840c3f669;p=platform%2Fupstream%2Fat-spi2-core.git Fix a few warnings and documentation issues --- 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.