Merge branch 'fix_accessible_text_changed_notifications' into 'main'

a11y: Provide correct end offset for GtkText text insertions

Closes libadwaita#824

See merge request GNOME/gtk!7075
This commit is contained in:
Matthias Clasen 2024-04-03 09:37:52 +00:00
commit 9e3e0052dc

View File

@ -3452,7 +3452,7 @@ gtk_text_insert_text (GtkText *self,
gtk_accessible_text_update_contents (GTK_ACCESSIBLE_TEXT (self),
GTK_ACCESSIBLE_TEXT_CONTENT_CHANGE_INSERT,
*position,
n_inserted);
*position + n_inserted);
*position += n_inserted;