[PATCH libinput 3/3] tablet: Fix warnings in test/tablet.c
Peter Hutterer
peter.hutterer at who-t.net
Wed Jun 25 20:58:29 PDT 2014
On Wed, Jun 25, 2014 at 02:30:17AM -0400, Stephen Chandler Paul wrote:
> Signed-off-by: Stephen Chandler Paul <thatslyude at gmail.com>
merged, thanks.
Cheers,
Peter
> ---
> 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