summaryrefslogtreecommitdiffstats
path: root/src/actions/actions-transform.cpp
diff options
context:
space:
mode:
authorTavmjong Bah <tavmjong@free.fr>2018-12-05 10:54:58 +0000
committerTavmjong Bah <tavmjong@free.fr>2018-12-05 10:54:58 +0000
commitb522585cba116b62b64666c472958f6e9acc3739 (patch)
tree633b89242e5fc8cea5c4fd3c478e1221a1f27abe /src/actions/actions-transform.cpp
parentfix coding style (diff)
downloadinkscape-b522585cba116b62b64666c472958f6e9acc3739.tar.gz
inkscape-b522585cba116b62b64666c472958f6e9acc3739.zip
Support compiling with Debian 9.
Diffstat (limited to 'src/actions/actions-transform.cpp')
-rw-r--r--src/actions/actions-transform.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/actions/actions-transform.cpp b/src/actions/actions-transform.cpp
index 91f12df58..2480363fa 100644
--- a/src/actions/actions-transform.cpp
+++ b/src/actions/actions-transform.cpp
@@ -35,7 +35,12 @@ add_actions_transform(InkscapeApplication* app)
Glib::VariantType Double(Glib::VARIANT_TYPE_DOUBLE);
Glib::VariantType String(Glib::VARIANT_TYPE_STRING);
+ // Debian 9 has 2.50.0
+#if GLIB_CHECK_VERSION(2, 52, 0)
+
app->add_action_with_parameter( "transform-rotate", Double, sigc::bind<InkscapeApplication*>(sigc::ptr_fun(&transform_rotate), app));
+
+#endif
}