Commit 004b24a8 authored by Daniel Boles's avatar Daniel Boles
Browse files

a11y/entry: Fix copy-pasteo re 2ndary icon tooltip

The else case was wrongly resetting the accessible description on the
primary icon, which might not exist and can therefore cause a crash.

#1160
parent 70d035ae
Pipeline #16383 passed with stage
in 8 minutes and 38 seconds
......@@ -604,7 +604,7 @@ gtk_entry_accessible_notify_gtk (GObject *obj,
}
else
{
atk_object_set_description (priv->icons[GTK_ENTRY_ICON_PRIMARY],
atk_object_set_description (priv->icons[GTK_ENTRY_ICON_SECONDARY],
"");
}
}
......
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