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.
This commit is contained in:
Samuel Thibault 2018-04-04 17:56:38 +02:00
parent 46dac1aba4
commit 209f908a03

View File

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