From 3d0366d46b6c237e61c548a033b960ccc9daa7f6 Mon Sep 17 00:00:00 2001 From: Robin Gareus Date: Mon, 17 Apr 2017 01:46:27 +0200 Subject: [PATCH] Send unmap event when removing a widget This fixes a crash when hiding an ArdourCanvas Item VCA which is about to display a tooltip. --- libs/gtkmm2ext/utils.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/libs/gtkmm2ext/utils.cc b/libs/gtkmm2ext/utils.cc index c18023e020..e16a9e251e 100644 --- a/libs/gtkmm2ext/utils.cc +++ b/libs/gtkmm2ext/utils.cc @@ -631,6 +631,7 @@ Gtkmm2ext::container_clear (Gtk::Container& c) { list children = c.get_children(); for (list::iterator child = children.begin(); child != children.end(); ++child) { + (*child)->hide (); c.remove (**child); } }