diff options
author | Diego Rondini <diego.rondini@kynetics.com> | 2018-09-18 14:14:09 +0200 |
---|---|---|
committer | Diego Rondini <diego.rondini@kynetics.com> | 2018-09-18 14:14:09 +0200 |
commit | b1ee7ad2ebb9013866e060239b0c638d9cbf006a (patch) | |
tree | c36e4f2394d58bfa49756efbe2243bfee5848438 /doc/api | |
parent | 33e202b8cd429b21ce9a12c3f4fa7ce82da042f3 (diff) | |
download | libinput-b1ee7ad2ebb9013866e060239b0c638d9cbf006a.tar.gz |
doc: fix libinput_event_destroy parameter
Fix libinput_event_destroy call by passing the correct parameter (event) in the
example code.
Signed-off-by: Diego Rondini <diego.rondini@kynetics.com>
Diffstat (limited to 'doc/api')
-rw-r--r-- | doc/api/mainpage.dox | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/api/mainpage.dox b/doc/api/mainpage.dox index 8dbfa792..d8430506 100644 --- a/doc/api/mainpage.dox +++ b/doc/api/mainpage.dox @@ -96,7 +96,7 @@ int main(void) { // handle the event here - libinput_event_destroy(li); + libinput_event_destroy(event); libinput_dispatch(li); } |