From 7bbad129a0c9c9f3a38b178557d68623bef03464 Mon Sep 17 00:00:00 2001 From: Marc Jeanmougin Date: Sun, 9 Dec 2018 20:04:42 +0100 Subject: Gtk/Gio templating of main inkscape application class to allow commandline usage when graphic server is not available --- src/actions/actions-transform.cpp | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'src/actions/actions-transform.cpp') diff --git a/src/actions/actions-transform.cpp b/src/actions/actions-transform.cpp index 2480363fa..10dabd76a 100644 --- a/src/actions/actions-transform.cpp +++ b/src/actions/actions-transform.cpp @@ -27,8 +27,9 @@ transform_rotate(const Glib::VariantBase& value, InkscapeApplication *app) selection->rotate(d.get()); } +template void -add_actions_transform(InkscapeApplication* app) +add_actions_transform(ConcreteInkscapeApplication* app) { Glib::VariantType Bool( Glib::VARIANT_TYPE_BOOL); Glib::VariantType Int( Glib::VARIANT_TYPE_INT32); @@ -45,6 +46,10 @@ add_actions_transform(InkscapeApplication* app) +template void add_actions_transform(ConcreteInkscapeApplication* app); +template void add_actions_transform(ConcreteInkscapeApplication* app); + + /* Local Variables: -- cgit v1.2.3