From 06f046515865519d01464f7ba08259cbaba441bf Mon Sep 17 00:00:00 2001 From: Aidan MacDonald Date: Tue, 4 Oct 2022 23:06:34 +0100 Subject: skin engine: Remove touchregion argument from skin_get_touchaction Nobody uses the argument, and it exposes internals unnecessarily. Change-Id: I376dc75db99ed89671175f906980526a23be70f6 --- apps/gui/wps.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'apps/gui/wps.c') diff --git a/apps/gui/wps.c b/apps/gui/wps.c index 5b973a2199..9d7a4c96f3 100644 --- a/apps/gui/wps.c +++ b/apps/gui/wps.c @@ -159,9 +159,8 @@ static bool update_onvol_change(enum screen_type screen) static int skintouch_to_wps(struct wps_data *data) { int offset = 0; - struct touchregion *region; struct wps_state *gstate = get_wps_state(); - int button = skin_get_touchaction(data, &offset, ®ion); + int button = skin_get_touchaction(data, &offset); switch (button) { case ACTION_STD_PREV: -- cgit v1.2.3