Commit 4f979469 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 87532f0a
Pipeline #16382 passed with stages
in 23 minutes and 55 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