diff options
author | Mike Gorse <mgorse@suse.com> | 2013-10-10 13:31:31 -0500 |
---|---|---|
committer | Mike Gorse <mgorse@suse.com> | 2013-10-10 13:31:31 -0500 |
commit | 7655e875bade67f5cf3e8ab2e9776e66d9517658 (patch) | |
tree | 721c2dd7476d4a39876b5615ea12ab2f976a9f57 /test | |
parent | ade0f3e500f3ba3300c8a9db26bdd6b5da8abe51 (diff) | |
download | at-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 'test')
-rw-r--r-- | test/memory.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/test/memory.c b/test/memory.c index 7a8aff5b..75cdd93f 100644 --- a/test/memory.c +++ b/test/memory.c @@ -65,6 +65,7 @@ on_event (AtspiEvent *event, void *data) g_boxed_free (ATSPI_TYPE_EVENT, event); } +int main() { atspi_init (); |