mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-12-27 06:00:22 +00:00
Merge branch 'fix_help_text' into 'main'
a11y: Fix the help text property bridging to ATSPI See merge request GNOME/gtk!7348
This commit is contained in:
commit
7d3970546c
@ -16,6 +16,8 @@
|
||||
|
||||
<property name="AccessibleId" type="s" access="read"/>
|
||||
|
||||
<property name="HelpText" type="s" access="read"/>
|
||||
|
||||
<method name="GetChildAtIndex">
|
||||
<arg direction="in" name="index" type="i"/>
|
||||
<arg direction="out" type="(so)"/>
|
||||
|
@ -729,7 +729,7 @@ handle_accessible_get_property (GDBusConnection *connection,
|
||||
res = get_parent_context_ref (accessible);
|
||||
else if (g_strcmp0 (property_name, "ChildCount") == 0)
|
||||
res = g_variant_new_int32 (gtk_at_spi_context_get_child_count (self));
|
||||
else if (g_strcmp0 (property_name, "HelpText"))
|
||||
else if (g_strcmp0 (property_name, "HelpText") == 0)
|
||||
{
|
||||
if (gtk_at_context_has_accessible_property (GTK_AT_CONTEXT (self), GTK_ACCESSIBLE_PROPERTY_HELP_TEXT))
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user