[PATCH libinput 3/3] tablet: Fix warnings in test/tablet.c
Stephen Chandler Paul
thatslyude at gmail.com
Tue Jun 24 23:30:17 PDT 2014
Signed-off-by: Stephen Chandler Paul <thatslyude at gmail.com>
---
test/tablet.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/test/tablet.c b/test/tablet.c
index 0f0728e..105a216 100644
--- a/test/tablet.c
+++ b/test/tablet.c
@@ -550,7 +550,7 @@ START_TEST(pad_buttons_ignored)
}
while ((event = libinput_get_event(li))) {
- ck_assert_int_ne(libinput_event_get_type,
+ ck_assert_int_ne(libinput_event_get_type(event),
LIBINPUT_EVENT_TABLET_BUTTON);
libinput_event_destroy(event);
libinput_dispatch(li);
@@ -569,7 +569,7 @@ START_TEST(pad_buttons_ignored)
libinput_dispatch(li);
while ((event = libinput_get_event(li))) {
- ck_assert_int_ne(libinput_event_get_type,
+ ck_assert_int_ne(libinput_event_get_type(event),
LIBINPUT_EVENT_TABLET_BUTTON);
libinput_event_destroy(event);
libinput_dispatch(li);
--
1.8.5.5
More information about the wayland-devel
mailing list