diff options
author | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2018-04-04 17:56:38 +0200 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2018-04-04 17:59:31 +0200 |
commit | 8c8cb2bb1272d4c357fad0bf8ae8ce34da30e1d3 (patch) | |
tree | ca319e0c4f1475a625a89836fa917c4800dabd49 /gtk/a11y | |
parent | 67360c9d0089ea6e99f0143bf7be8384537da6da (diff) | |
download | gtk+-8c8cb2bb1272d4c357fad0bf8ae8ce34da30e1d3.tar.gz |
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.
(cherry picked from commit 209f908a03a9d27508704425a57dcd533fab4c7d)
Diffstat (limited to 'gtk/a11y')
-rw-r--r-- | gtk/a11y/gtkentryaccessible.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/a11y/gtkentryaccessible.c b/gtk/a11y/gtkentryaccessible.c index 0a629eefb7..30bfaabb8c 100644 --- a/gtk/a11y/gtkentryaccessible.c +++ b/gtk/a11y/gtkentryaccessible.c @@ -1426,7 +1426,7 @@ delete_text_cb (GtkEditable *editable, g_signal_emit_by_name (accessible, "text-changed::delete", start, - end); + end - start); } static gboolean |