diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2016-06-06 16:05:25 -0400 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2016-06-06 16:05:25 -0400 |
commit | 5700296cb66c1ebf16903b9baa8883395779a7fd (patch) | |
tree | fdbb6b8101df562fb505975f0cfc986cc51981ea /libs/gtkmm2ext/gtkmm2ext | |
parent | 084da26cfda2af23d111d085b773794ffe0d24b6 (diff) |
add a destructor for Gtkmm2ext::Pane that unparents the children.
This seems to be required, although there is confusion in Gtkmm3 about this.
Diffstat (limited to 'libs/gtkmm2ext/gtkmm2ext')
-rw-r--r-- | libs/gtkmm2ext/gtkmm2ext/pane.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libs/gtkmm2ext/gtkmm2ext/pane.h b/libs/gtkmm2ext/gtkmm2ext/pane.h index f1d5bed092..2fa35eb3a5 100644 --- a/libs/gtkmm2ext/gtkmm2ext/pane.h +++ b/libs/gtkmm2ext/gtkmm2ext/pane.h @@ -55,6 +55,8 @@ class LIBGTKMM2EXT_API Pane : public Gtk::Container typedef std::list<Child> Children; Pane (bool horizontal); + ~Pane(); + void set_divider (std::vector<float>::size_type divider, float fract); float get_divider (std::vector<float>::size_type divider = 0); void set_child_minsize (Gtk::Widget const &, int32_t); |