From 209f908a03a9d27508704425a57dcd533fab4c7d Mon Sep 17 00:00:00 2001 From: Samuel Thibault Date: Wed, 4 Apr 2018 17:56:38 +0200 Subject: [PATCH] gtkentryaccessible: Fix text-changed::delete length The second parameter of the text-changed::delete event is to be the length, not the end position. This fixes spurious text removals in brltty screen reading. --- gtk/a11y/gtkentryaccessible.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gtk/a11y/gtkentryaccessible.c b/gtk/a11y/gtkentryaccessible.c index d66d988a68..450194ca19 100644 --- a/gtk/a11y/gtkentryaccessible.c +++ b/gtk/a11y/gtkentryaccessible.c @@ -1433,7 +1433,7 @@ delete_text_cb (GtkEditable *editable, g_signal_emit_by_name (accessible, "text-changed::delete", start, - end); + end - start); } static gboolean