summaryrefslogtreecommitdiff
path: root/gtk/a11y
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2018-04-04 17:56:38 +0200
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2018-04-04 17:56:38 +0200
commit209f908a03a9d27508704425a57dcd533fab4c7d (patch)
tree1e604f3d25141932cbd0fc7a2411e6b59393a27e /gtk/a11y
parent46dac1aba4b8213c5b5dc6ab7845b424a758c582 (diff)
downloadgtk+-209f908a03a9d27508704425a57dcd533fab4c7d.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.
Diffstat (limited to 'gtk/a11y')
-rw-r--r--gtk/a11y/gtkentryaccessible.c2
1 files changed, 1 insertions, 1 deletions
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