Make GtkModelButton work with touch
Some recent refactoring changed things so that in_button is no longer TRUE when released() is called for touch events. As a minimal fix, let GtkButton do more of the work by chaining up to its pressed and released handlers, which know how to handle touch events. This could be further improved by leaving more of the state handling to GtkButton, like it was done for GtkToggleButton.
Showing with 5 additions and 10 deletions