forked from AuroraMiddleware/gtk
overlay: Fix remove implementation
Use the child widget list of the overlay, not the passed child.
This commit is contained in:
parent
31a0739bf3
commit
53410bab0f
@ -379,7 +379,7 @@ gtk_overlay_remove (GtkContainer *container,
|
||||
|
||||
gtk_widget_unparent (widget);
|
||||
|
||||
for (w = gtk_widget_get_first_child (widget);
|
||||
for (w = gtk_widget_get_first_child (GTK_WIDGET (container));
|
||||
w != NULL;
|
||||
w = gtk_widget_get_next_sibling (w))
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user