Commit 30d2dc49 authored by Benjamin Otte's avatar Benjamin Otte

scrolledwindow: destroy children in destroy()

If we don't do that, testsuite/gtk/templates starts failing.
parent f0f8d6d6
......@@ -2677,7 +2677,7 @@ gtk_scrolled_window_destroy (GtkWidget *widget)
child = gtk_bin_get_child (GTK_BIN (widget));
if (child)
gtk_container_remove (GTK_CONTAINER (widget), child);
gtk_widget_destroy (child);
remove_indicator (scrolled_window, &priv->hindicator);
remove_indicator (scrolled_window, &priv->vindicator);
......
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