mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-12-29 15:01:23 +00:00
a11y/atspi: make TextCaretMoved match GTK 3 / ATK
When testing VTE on GTK 3 using ATK, the variant parameter is <0> instead of <''> on the wire. Make that match to increase the chances that tooling will hit the same expectations.
This commit is contained in:
parent
dfed398371
commit
8c7e13746b
@ -771,7 +771,7 @@ emit_text_selection_changed (GtkAtSpiContext *self,
|
||||
"org.a11y.atspi.Event.Object",
|
||||
"TextCaretMoved",
|
||||
g_variant_new ("(siiva{sv})",
|
||||
"", cursor_position, 0, g_variant_new_string (""), NULL),
|
||||
"", cursor_position, 0, g_variant_new_int32 (0), NULL),
|
||||
NULL);
|
||||
else
|
||||
g_dbus_connection_emit_signal (self->connection,
|
||||
@ -1590,7 +1590,7 @@ gtk_at_spi_context_update_caret_position (GtkATContext *context)
|
||||
"",
|
||||
(int) offset,
|
||||
0,
|
||||
g_variant_new_string (""),
|
||||
g_variant_new_int32 (0),
|
||||
NULL),
|
||||
NULL);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user