summaryrefslogtreecommitdiffstats
path: root/src/ui
diff options
context:
space:
mode:
authorAlexander Valavanis <valavanisalex@gmail.com>2017-08-06 17:18:16 +0000
committerAlexander Valavanis <valavanisalex@gmail.com>2017-08-06 17:18:16 +0000
commite9504dc3454ae8733dd84e7fd5e614116d0d1f74 (patch)
tree16017d90c8050bf636387ba79bd48b18878bb336 /src/ui
parentAdd GUI and code to implement "Line Spacing Modes". (diff)
downloadinkscape-e9504dc3454ae8733dd84e7fd5e614116d0d1f74.tar.gz
inkscape-e9504dc3454ae8733dd84e7fd5e614116d0d1f74.zip
objects dialog: Gtk+ < 3.16 compat
Diffstat (limited to 'src/ui')
-rw-r--r--src/ui/dialog/objects.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/ui/dialog/objects.cpp b/src/ui/dialog/objects.cpp
index dd8879dc1..65ef0cca8 100644
--- a/src/ui/dialog/objects.cpp
+++ b/src/ui/dialog/objects.cpp
@@ -280,7 +280,11 @@ Gtk::MenuItem& ObjectsPanel::_addPopupItem( SPDesktop *desktop, unsigned int cod
}
Gtk::Label *menu_label = Gtk::manage(new Gtk::Label(label, true));
+#if WITH_GTKMM_3_16
menu_label->set_xalign(0.0);
+#else
+ menu_label->set_set_alignment(0.0, 0.5);
+#endif
box->pack_start(*menu_label, true, true, 0);
item->add(*box);
item->show_all();