summaryrefslogtreecommitdiffstats
path: root/src/actions/actions-transform.cpp
diff options
context:
space:
mode:
authorMarc Jeanmougin <marc@jeanmougin.fr>2018-12-09 19:04:42 +0000
committerMarc Jeanmougin <marc@jeanmougin.fr>2018-12-09 19:04:42 +0000
commit7bbad129a0c9c9f3a38b178557d68623bef03464 (patch)
tree964e4f6ced0914ea706197645a7ca636ca60376c /src/actions/actions-transform.cpp
parentfix, test, and document more Inkscape::URI methods (diff)
downloadinkscape-7bbad129a0c9c9f3a38b178557d68623bef03464.tar.gz
inkscape-7bbad129a0c9c9f3a38b178557d68623bef03464.zip
Gtk/Gio templating of main inkscape application class to allow commandline usage when graphic server is not available
Diffstat (limited to 'src/actions/actions-transform.cpp')
-rw-r--r--src/actions/actions-transform.cpp7
1 files changed, 6 insertions, 1 deletions
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<class T>
void
-add_actions_transform(InkscapeApplication* app)
+add_actions_transform(ConcreteInkscapeApplication<T>* 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<Gio::Application>* app);
+template void add_actions_transform(ConcreteInkscapeApplication<Gtk::Application>* app);
+
+
/*
Local Variables: