summaryrefslogtreecommitdiff
path: root/atspi/atspi-event-listener.h
diff options
context:
space:
mode:
authorMike Gorse <mgorse@suse.com>2013-10-10 13:31:31 -0500
committerMike Gorse <mgorse@suse.com>2013-10-10 13:31:31 -0500
commit7655e875bade67f5cf3e8ab2e9776e66d9517658 (patch)
tree721c2dd7476d4a39876b5615ea12ab2f976a9f57 /atspi/atspi-event-listener.h
parentade0f3e500f3ba3300c8a9db26bdd6b5da8abe51 (diff)
downloadat-spi2-core-7655e875bade67f5cf3e8ab2e9776e66d9517658.tar.gz
Make AtspiEventListenerCb not call for a const datum
AtspiEventListenerCb is currently defined as (transfer full), so the caller owns the struct and needs to free it, so it should not be const.
Diffstat (limited to 'atspi/atspi-event-listener.h')
-rw-r--r--atspi/atspi-event-listener.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/atspi/atspi-event-listener.h b/atspi/atspi-event-listener.h
index 99f3ca15..12d3c585 100644
--- a/atspi/atspi-event-listener.h
+++ b/atspi/atspi-event-listener.h
@@ -42,7 +42,7 @@ GType atspi_event_get_type (void);
* A function prototype for callbacks via which clients are notified of AT-SPI events.
*
**/
-typedef void (*AtspiEventListenerCB) (const AtspiEvent *event,
+typedef void (*AtspiEventListenerCB) (AtspiEvent *event,
void *user_data);
/**