gtktextview: Fixed arrow key crash.
authorJordan Yelloz <jordan@yelloz.me>
Tue, 21 Sep 2021 15:47:32 +0000 (08:47 -0700)
committerMatthias Clasen <mclasen@redhat.com>
Sun, 31 Oct 2021 21:52:04 +0000 (17:52 -0400)
commitcc5a7b153db3a478b3642b89b89e9a0ce76a7d72
tree8e7f78bb32d252c095541292abc174dd1c08ddd9
parent0476b5a34ce4b83dfac20b2f8f3ab8a844365091
gtktextview: Fixed arrow key crash.

When pressing the keyboard arrows to move around when the insertion point is
hidden, it causes an assertion error in blink_cb.

Insertion point blinks should only be scheduled when blinking is enabled and the
insertion point is visible.

Closes #4275
gtk/gtktextview.c