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-base.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'src/actions/actions-base.cpp') diff --git a/src/actions/actions-base.cpp b/src/actions/actions-base.cpp index b24602ca7..252eb956f 100644 --- a/src/actions/actions-base.cpp +++ b/src/actions/actions-base.cpp @@ -201,8 +201,9 @@ vacuum_defs(InkscapeApplication* app) document->vacuumDocument(); } +template void -add_actions_base(InkscapeApplication* app) +add_actions_base(ConcreteInkscapeApplication* app) { // Note: "radio" actions are just an easy way to set type without using templating. app->add_action("inkscape-version", sigc::ptr_fun(&print_inkscape_version )); @@ -224,6 +225,9 @@ add_actions_base(InkscapeApplication* app) } +template void add_actions_base(ConcreteInkscapeApplication* app); +template void add_actions_base(ConcreteInkscapeApplication* app); + /* Local Variables: mode:c++ -- cgit v1.2.3