projects
/
ardour.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
aff92a0
)
Send unmap event when removing a widget
author
Robin Gareus
<robin@gareus.org>
Sun, 16 Apr 2017 23:46:27 +0000
(
01:46
+0200)
committer
Robin Gareus
<robin@gareus.org>
Sun, 16 Apr 2017 23:46:27 +0000
(
01:46
+0200)
This fixes a crash when hiding an ArdourCanvas Item VCA which
is about to display a tooltip.
libs/gtkmm2ext/utils.cc
patch
|
blob
|
history
diff --git
a/libs/gtkmm2ext/utils.cc
b/libs/gtkmm2ext/utils.cc
index c18023e02008d7429b8d0c5fa24979cbe966b404..e16a9e251e256a8db6da45a4fa7ef44ebf56089f 100644
(file)
--- a/
libs/gtkmm2ext/utils.cc
+++ b/
libs/gtkmm2ext/utils.cc
@@
-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);
}
}