EmojiChooser: Ensure always have a selected button
authorDaniel Boles <dboles@src.gnome.org>
Mon, 4 Sep 2017 18:56:47 +0000 (19:56 +0100)
committerDaniel Boles <dboles@src.gnome.org>
Mon, 4 Sep 2017 21:33:24 +0000 (22:33 +0100)
commit721094529263272f2737dc0e811195edd2df7426
treeb2b6728456789c4fca5c96f492ba1163d5688129
parent02e310a1d51e66381d5dad127b59e388b184b09c
EmojiChooser: Ensure always have a selected button

We were only selecting a section’s button if the adjustment y coord was
within its heading, so scrolling slightly into it unchecked all buttons.
This also fixes how we could end up with the first 2 selected, somehow.

https://bugzilla.gnome.org/show_bug.cgi?id=787172
gtk/gtkemojichooser.c