diff options
| author | Alexander Valavanis <valavanisalex@gmail.com> | 2017-07-06 19:05:52 +0000 |
|---|---|---|
| committer | Alexander Valavanis <valavanisalex@gmail.com> | 2017-07-06 19:05:52 +0000 |
| commit | b676ea2474b68e17c83dc33ebde3bc36b106c661 (patch) | |
| tree | b03b6c5f5bcbefb48a7e882f6c97894f63821d9a /src/ui/widget/anchor-selector.cpp | |
| parent | Gtkmm deprecation fixes (diff) | |
| download | inkscape-b676ea2474b68e17c83dc33ebde3bc36b106c661.tar.gz inkscape-b676ea2474b68e17c83dc33ebde3bc36b106c661.zip | |
Gtkmm deprecation fixes
Diffstat (limited to 'src/ui/widget/anchor-selector.cpp')
| -rw-r--r-- | src/ui/widget/anchor-selector.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ui/widget/anchor-selector.cpp b/src/ui/widget/anchor-selector.cpp index ddc25775d..52768b7f1 100644 --- a/src/ui/widget/anchor-selector.cpp +++ b/src/ui/widget/anchor-selector.cpp @@ -28,9 +28,9 @@ void AnchorSelector::setupButton(const Glib::ustring& icon, Gtk::ToggleButton& b } AnchorSelector::AnchorSelector() - : Gtk::Alignment(0.5, 0, 0, 0), - _container() + : _container() { + set_halign(Gtk::ALIGN_CENTER); setupButton(INKSCAPE_ICON("boundingbox_top_left"), _buttons[0]); setupButton(INKSCAPE_ICON("boundingbox_top"), _buttons[1]); setupButton(INKSCAPE_ICON("boundingbox_top_right"), _buttons[2]); |
