summaryrefslogtreecommitdiff
path: root/atspi/atspi-event-listener.c
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.c
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.c')
-rw-r--r--atspi/atspi-event-listener.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/atspi/atspi-event-listener.c b/atspi/atspi-event-listener.c
index 1291d113..a7a23366 100644
--- a/atspi/atspi-event-listener.c
+++ b/atspi/atspi-event-listener.c
@@ -50,7 +50,7 @@ atspi_event_listener_class_init (AtspiEventListenerClass *klass)
}
static void
-remove_datum (const AtspiEvent *event, void *user_data)
+remove_datum (AtspiEvent *event, void *user_data)
{
AtspiEventListenerSimpleCB cb = user_data;
cb (event);