diff options
author | Aidan MacDonald <amachronic@protonmail.com> | 2022-10-04 23:06:34 +0100 |
---|---|---|
committer | Aidan MacDonald <amachronic@protonmail.com> | 2022-11-10 07:08:35 -0500 |
commit | 06f046515865519d01464f7ba08259cbaba441bf (patch) | |
tree | 082934777b8a3f470ff98ade7a8c1b9e88d5955c /apps/gui/wps.c | |
parent | 56389b21b13b4f177fdb2f3cdb0ee291278355f8 (diff) | |
download | rockbox-06f046515865519d01464f7ba08259cbaba441bf.tar.gz rockbox-06f046515865519d01464f7ba08259cbaba441bf.zip |
skin engine: Remove touchregion argument from skin_get_touchaction
Nobody uses the argument, and it exposes internals unnecessarily.
Change-Id: I376dc75db99ed89671175f906980526a23be70f6
Diffstat (limited to 'apps/gui/wps.c')
-rw-r--r-- | apps/gui/wps.c | 3 |
1 files changed, 1 insertions, 2 deletions
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) | |||
159 | static int skintouch_to_wps(struct wps_data *data) | 159 | static int skintouch_to_wps(struct wps_data *data) |
160 | { | 160 | { |
161 | int offset = 0; | 161 | int offset = 0; |
162 | struct touchregion *region; | ||
163 | struct wps_state *gstate = get_wps_state(); | 162 | struct wps_state *gstate = get_wps_state(); |
164 | int button = skin_get_touchaction(data, &offset, ®ion); | 163 | int button = skin_get_touchaction(data, &offset); |
165 | switch (button) | 164 | switch (button) |
166 | { | 165 | { |
167 | case ACTION_STD_PREV: | 166 | case ACTION_STD_PREV: |