gtkpopover: Fix thinko in key press event type check
authorCarlos Garnacho <carlosg@gnome.org>
Tue, 29 May 2018 11:50:41 +0000 (13:50 +0200)
committerCarlos Garnacho <carlosg@gnome.org>
Tue, 29 May 2018 12:05:14 +0000 (14:05 +0200)
commit694d9aa9f90f132d03eebb9c74fd53dd72157167
tree5f6710b4a505c7560bb2a3a2fce88fe5979a41f6
parent317abed78e8bdb0a77e7acb80e7ffc5fc6372e08
gtkpopover: Fix thinko in key press event type check

That code branch is meant to check for key events, seems obvious we want
GDK_KEY_PRESS, not GDK_BUTTON_PRESS (which also broke the branch right
below).

Makes us all able to dismiss popovers again.
gtk/gtkpopover.c