summaryrefslogtreecommitdiffstats
path: root/src/ui/dialog/new-from-template.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/ui/dialog/new-from-template.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/ui/dialog/new-from-template.cpp')
-rw-r--r--src/ui/dialog/new-from-template.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ui/dialog/new-from-template.cpp b/src/ui/dialog/new-from-template.cpp
index ab46a55da..7e0c5b526 100644
--- a/src/ui/dialog/new-from-template.cpp
+++ b/src/ui/dialog/new-from-template.cpp
@@ -32,7 +32,7 @@ NewFromTemplate::NewFromTemplate()
_create_template_button.set_halign(Gtk::ALIGN_END);
_create_template_button.set_valign(Gtk::ALIGN_END);
-#if WITH_GTKMM_3_12
+#if GTKMM_CHECK_VERSION(3,12,0)
_create_template_button.set_margin_end(15);
#else
_create_template_button.set_margin_right(15);