Move button finding to view

This commit is contained in:
Dorota Czaplejewicz
2019-08-16 17:14:36 +00:00
parent c9a580dc07
commit 4e9a8e4afe
5 changed files with 46 additions and 48 deletions

View File

@ -498,7 +498,7 @@ on_button_pressed (struct squeek_button *button,
struct button_place place = {
.button = button,
.row = eek_keyboard_get_row(view, button),
.row = squeek_view_get_row(view, button),
};
if (!place.row) {
return;