Commit 209f908a authored by Samuel Thibault's avatar Samuel Thibault

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.
parent 46dac1ab
...@@ -1433,7 +1433,7 @@ delete_text_cb (GtkEditable *editable, ...@@ -1433,7 +1433,7 @@ delete_text_cb (GtkEditable *editable,
g_signal_emit_by_name (accessible, g_signal_emit_by_name (accessible,
"text-changed::delete", "text-changed::delete",
start, start,
end); end - start);
} }
static gboolean static gboolean
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment