texthistory: add barriers after final grouping
authorChristian Hergert <chergert@redhat.com>
Thu, 23 Sep 2021 00:08:02 +0000 (17:08 -0700)
committerChristian Hergert <chergert@redhat.com>
Fri, 24 Sep 2021 23:37:59 +0000 (16:37 -0700)
commitf8cd883e0d694009851368ce7613bba4dc5d93fe
treeba469384af4380679d7b43915330df2f89170dcf
parentd198754ce8889c0d3d72c0d1b89cee73cb050646
texthistory: add barriers after final grouping

We don't want to allow new items to be grouped into a previous action
group after the end_user_action() is called. This ensures that we add a
barrier action in those conditions.

Fixes #4276
gtk/gtktexthistory.c
testsuite/gtk/texthistory.c