diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2016-05-26 10:46:07 -0400 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2016-05-31 15:30:45 -0400 |
commit | 3c4503a8492d705579030a91f83a2b93f2a97b8b (patch) | |
tree | 4669c3eff7e6edf1520bd089f2169b7585d41068 /libs/gtkmm2ext/pane.cc | |
parent | 29b9c4ecc30348573fc8bdc3403527a6baac1b67 (diff) |
fix use of widget allocation origin in Gtkm2mext::Pane
Diffstat (limited to 'libs/gtkmm2ext/pane.cc')
-rw-r--r-- | libs/gtkmm2ext/pane.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libs/gtkmm2ext/pane.cc b/libs/gtkmm2ext/pane.cc index 07667a9115..8c13fe55d3 100644 --- a/libs/gtkmm2ext/pane.cc +++ b/libs/gtkmm2ext/pane.cc @@ -123,8 +123,8 @@ Pane::reallocate (Gtk::Allocation const & alloc) { Children::size_type n = 0; int remaining; - int xpos = 0; - int ypos = 0; + int xpos = alloc.get_x(); + int ypos = alloc.get_y(); float fract; if (children.empty()) { |