13
0

Send unmap event when removing a widget

This fixes a crash when hiding an ArdourCanvas Item VCA which
is about to display a tooltip.
This commit is contained in:
Robin Gareus 2017-04-17 01:46:27 +02:00
parent aff92a019d
commit 3d0366d46b

View File

@ -631,6 +631,7 @@ Gtkmm2ext::container_clear (Gtk::Container& c)
{
list<Gtk::Widget*> children = c.get_children();
for (list<Gtk::Widget*>::iterator child = children.begin(); child != children.end(); ++child) {
(*child)->hide ();
c.remove (**child);
}
}