types/wlr_tablet_pad: constify impl

This commit is contained in:
Simon Zeni 2022-02-09 10:36:34 -05:00
parent 511f137f8f
commit f1181c34ed
3 changed files with 3 additions and 3 deletions

View file

@ -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

View file

@ -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;