From 543c421aede7cf64d9b5096d47c2d257c96e6863 Mon Sep 17 00:00:00 2001 From: Alex Valavanis Date: Thu, 9 Feb 2012 11:32:53 +0000 Subject: Backward compat fix for Gtkmm 2.20 Fixed bugs: - https://launchpad.net/bugs/928520 (bzr r10956) --- src/extension/param/string.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/extension/param/string.cpp') diff --git a/src/extension/param/string.cpp b/src/extension/param/string.cpp index 23f53cdbe..3f8d176a5 100644 --- a/src/extension/param/string.cpp +++ b/src/extension/param/string.cpp @@ -155,7 +155,11 @@ Gtk::Widget * ParamString::get_widget(SPDocument * doc, Inkscape::XML::Node * no Gtk::HBox * hbox = Gtk::manage(new Gtk::HBox(false, 4)); +#if WITH_GTKMM_2_22 Gtk::Label * label = Gtk::manage(new Gtk::Label(_(_text), Gtk::ALIGN_START)); +#else + Gtk::Label * label = Gtk::manage(new Gtk::Label(_(_text), Gtk::ALIGN_LEFT)); +#endif label->show(); hbox->pack_start(*label, false, false, _indent); -- cgit v1.2.3