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 209f908a03)
This commit is contained in:
Samuel Thibault 2018-04-04 17:56:38 +02:00
parent 67360c9d00
commit 8c8cb2bb12

View File

@ -1426,7 +1426,7 @@ delete_text_cb (GtkEditable *editable,
g_signal_emit_by_name (accessible,
"text-changed::delete",
start,
end);
end - start);
}
static gboolean