From f1181c34ed3c3dd80299d634de062c4f2d731bac Mon Sep 17 00:00:00 2001 From: Simon Zeni Date: Wed, 9 Feb 2022 10:36:34 -0500 Subject: types/wlr_tablet_pad: constify impl --- include/wlr/interfaces/wlr_tablet_pad.h | 2 +- include/wlr/types/wlr_tablet_pad.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'include') diff --git a/include/wlr/interfaces/wlr_tablet_pad.h b/include/wlr/interfaces/wlr_tablet_pad.h index b35f162e..ff5c9359 100644 --- a/include/wlr/interfaces/wlr_tablet_pad.h +++ b/include/wlr/interfaces/wlr_tablet_pad.h @@ -16,7 +16,7 @@ struct wlr_tablet_pad_impl { }; void wlr_tablet_pad_init(struct wlr_tablet_pad *pad, - struct wlr_tablet_pad_impl *impl, const char *name); + const struct wlr_tablet_pad_impl *impl, const char *name); void wlr_tablet_pad_destroy(struct wlr_tablet_pad *pad); #endif diff --git a/include/wlr/types/wlr_tablet_pad.h b/include/wlr/types/wlr_tablet_pad.h index f30809cf..24923353 100644 --- a/include/wlr/types/wlr_tablet_pad.h +++ b/include/wlr/types/wlr_tablet_pad.h @@ -24,7 +24,7 @@ struct wlr_tablet_pad_impl; struct wlr_tablet_pad { struct wlr_input_device base; - struct wlr_tablet_pad_impl *impl; + const struct wlr_tablet_pad_impl *impl; struct { struct wl_signal button; -- cgit v1.2.3