diff options
Diffstat (limited to 'apps/gui/statusbar-skinned.c')
-rw-r--r-- | apps/gui/statusbar-skinned.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/apps/gui/statusbar-skinned.c b/apps/gui/statusbar-skinned.c index f1b8af015e..5d2b65846d 100644 --- a/apps/gui/statusbar-skinned.c +++ b/apps/gui/statusbar-skinned.c | |||
@@ -307,7 +307,6 @@ void sb_bypass_touchregions(bool enable) | |||
307 | 307 | ||
308 | int sb_touch_to_button(int context) | 308 | int sb_touch_to_button(int context) |
309 | { | 309 | { |
310 | struct touchregion *region; | ||
311 | static int last_context = -1; | 310 | static int last_context = -1; |
312 | int button, offset; | 311 | int button, offset; |
313 | if (bypass_sb_touchregions) | 312 | if (bypass_sb_touchregions) |
@@ -317,7 +316,7 @@ int sb_touch_to_button(int context) | |||
317 | skin_disarm_touchregions(skin_get_gwps(CUSTOM_STATUSBAR, SCREEN_MAIN)->data); | 316 | skin_disarm_touchregions(skin_get_gwps(CUSTOM_STATUSBAR, SCREEN_MAIN)->data); |
318 | last_context = context; | 317 | last_context = context; |
319 | button = skin_get_touchaction(skin_get_gwps(CUSTOM_STATUSBAR, SCREEN_MAIN)->data, | 318 | button = skin_get_touchaction(skin_get_gwps(CUSTOM_STATUSBAR, SCREEN_MAIN)->data, |
320 | &offset, ®ion); | 319 | &offset); |
321 | 320 | ||
322 | switch (button) | 321 | switch (button) |
323 | { | 322 | { |