From da27cd196516ec88c10ed9c799bbb5dd38244f6c Mon Sep 17 00:00:00 2001 From: Karl Cheng Date: Wed, 8 May 2019 20:38:05 +1000 Subject: Remove leftover GTK/gtkmm >= 3.16 check This was mostly done in 630be82740, but it seems this file was missed. Refs: https://gitlab.com/inkscape/inkscape/commit/630be8274013c5eef5f19e19a14bc6d759aada5a --- src/extension/param/description.cpp | 4 ---- 1 file changed, 4 deletions(-) (limited to 'src/extension/param/description.cpp') diff --git a/src/extension/param/description.cpp b/src/extension/param/description.cpp index 154c172df..60e2d02c8 100644 --- a/src/extension/param/description.cpp +++ b/src/extension/param/description.cpp @@ -108,11 +108,7 @@ ParamDescription::get_widget (SPDocument * /*doc*/, Inkscape::XML::Node * /*node label->set_text(newtext); } label->set_line_wrap(); -#if (GTKMM_MAJOR_VERSION == 3 && GTKMM_MINOR_VERSION >= 16) label->set_xalign(0); -#else - label->set_alignment(Gtk::ALIGN_START); -#endif // TODO: Ugly "fix" for gtk3 width/height calculation of labels. // - If not applying any limits long labels will make the window grow horizontally until it uses up -- cgit v1.2.3