forked from AuroraMiddleware/gtk
GtkContainerAccessible: avoid resurrecting accessibles
When removing a child, we don't want to resurrect its accessible needlessly.
This commit is contained in:
parent
f99cbdf49f
commit
ef62a872f5
@ -150,7 +150,7 @@ gtk_container_accessible_real_remove_gtk (GtkContainer *container,
|
|||||||
gint index;
|
gint index;
|
||||||
|
|
||||||
atk_parent = ATK_OBJECT (data);
|
atk_parent = ATK_OBJECT (data);
|
||||||
atk_child = gtk_widget_get_accessible (widget);
|
atk_child = _gtk_widget_peek_accessible (widget);
|
||||||
if (atk_child == NULL)
|
if (atk_child == NULL)
|
||||||
return 1;
|
return 1;
|
||||||
accessible = GTK_CONTAINER_ACCESSIBLE (atk_parent);
|
accessible = GTK_CONTAINER_ACCESSIBLE (atk_parent);
|
||||||
|
Loading…
Reference in New Issue
Block a user