summaryrefslogtreecommitdiffstats
path: root/src/extension/param/description.cpp
diff options
context:
space:
mode:
authorAlex Valavanis <valavanisalex@gmail.com>2012-07-05 21:39:08 +0000
committerAlex Valavanis <valavanisalex@gmail.com>2012-07-05 21:39:08 +0000
commit9abd33133650d77714fccf09d0c9ff27c9b75a78 (patch)
treee450b556c03d2335a40b85c5945f7ab5b0c8b5e2 /src/extension/param/description.cpp
parentPatch for bug #728081 (Keyboard shortcut - Lock current layer). (diff)
downloadinkscape-9abd33133650d77714fccf09d0c9ff27c9b75a78.tar.gz
inkscape-9abd33133650d77714fccf09d0c9ff27c9b75a78.zip
Drop GTK+ 2.20 support.
Fixed bugs: - https://launchpad.net/bugs/1020494 (bzr r11529)
Diffstat (limited to 'src/extension/param/description.cpp')
-rw-r--r--src/extension/param/description.cpp8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/extension/param/description.cpp b/src/extension/param/description.cpp
index efdf03721..ae2d88ab3 100644
--- a/src/extension/param/description.cpp
+++ b/src/extension/param/description.cpp
@@ -77,20 +77,12 @@ ParamDescription::get_widget (SPDocument * /*doc*/, Inkscape::XML::Node * /*node
Gtk::Label * label;
int padding = 12 + _indent;
if (_mode == HEADER) {
-#if WITH_GTKMM_2_22
label = Gtk::manage(new Gtk::Label(Glib::ustring("<b>") +newguitext + Glib::ustring("</b>"), Gtk::ALIGN_START));
-#else
- label = Gtk::manage(new Gtk::Label(Glib::ustring("<b>") +newguitext + Glib::ustring("</b>"), Gtk::ALIGN_LEFT));
-#endif
label->set_padding(0,5);
label->set_use_markup(true);
padding = _indent;
} else {
-#if WITH_GTKMM_2_22
label = Gtk::manage(new Gtk::Label(newguitext, Gtk::ALIGN_START));
-#else
- label = Gtk::manage(new Gtk::Label(newguitext, Gtk::ALIGN_LEFT));
-#endif
}
label->set_line_wrap();
label->show();