Commit 973b52e8 authored by Matthias Clasen's avatar Matthias Clasen

GtkContainerAccessible: avoid resurrecting accessibles

When removing a child, we don't want to resurrect its
accessible needlessly.
parent c25e8cef
......@@ -150,7 +150,7 @@ gtk_container_accessible_real_remove_gtk (GtkContainer *container,
gint index;
atk_parent = ATK_OBJECT (data);
atk_child = gtk_widget_get_accessible (widget);
atk_child = _gtk_widget_peek_accessible (widget);
if (atk_child == NULL)
return 1;
accessible = GTK_CONTAINER_ACCESSIBLE (atk_parent);
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