summaryrefslogtreecommitdiffstats
path: root/src/live_effects/lpe-perspective_path.cpp
diff options
context:
space:
mode:
authorAlexander Valavanis <valavanisalex@gmail.com>2017-12-25 17:16:41 +0000
committerAlexander Valavanis <valavanisalex@gmail.com>2017-12-25 17:16:41 +0000
commit8e2119c2042debcf51998631e64809e627b148c2 (patch)
treec69d09bf78d648b3984cea7aa462dd751235ebfd /src/live_effects/lpe-perspective_path.cpp
parentName a few more widgets. Minor cleanup. (diff)
downloadinkscape-8e2119c2042debcf51998631e64809e627b148c2.tar.gz
inkscape-8e2119c2042debcf51998631e64809e627b148c2.zip
Use a macro for GtkMM version checks
Diffstat (limited to 'src/live_effects/lpe-perspective_path.cpp')
-rw-r--r--src/live_effects/lpe-perspective_path.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/live_effects/lpe-perspective_path.cpp b/src/live_effects/lpe-perspective_path.cpp
index 435c91c2d..4ec760e41 100644
--- a/src/live_effects/lpe-perspective_path.cpp
+++ b/src/live_effects/lpe-perspective_path.cpp
@@ -227,7 +227,7 @@ LPEPerspectivePath::newWidget()
}
Gtk::HBox * perspectiveId = Gtk::manage(new Gtk::HBox(true,0));
-#if WITH_GTKMM_3_10
+#if GTKMM_CHECK_VERSION(3,10,0)
Gtk::Label* labelPerspective = Gtk::manage(new Gtk::Label("Perspective ID:", Gtk::ALIGN_START, Gtk::ALIGN_START));
#else
Gtk::Label* labelPerspective = Gtk::manage(new Gtk::Label("Perspective ID:", 0., 0.));
@@ -241,7 +241,7 @@ LPEPerspectivePath::newWidget()
vbox->pack_start(*perspectiveId, true, true, 2);
Gtk::Button* apply3D = Gtk::manage(new Gtk::Button());
-#if WITH_GTKMM_3_10
+#if GTKMM_CHECK_VERSION(3,10,0)
Gtk::Label *apply3DLabel = Gtk::manage(new Gtk::Label(_("Refresh perspective"), Gtk::ALIGN_START, Gtk::ALIGN_CENTER));
#else
Gtk::Label *apply3DLabel = Gtk::manage(new Gtk::Label(_("Refresh perspective"), 0.0, 0.5));