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-selection.cpp | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'src/actions/actions-selection.cpp') diff --git a/src/actions/actions-selection.cpp b/src/actions/actions-selection.cpp index 5687ebdd7..7a46f5398 100644 --- a/src/actions/actions-selection.cpp +++ b/src/actions/actions-selection.cpp @@ -100,8 +100,9 @@ select_all(InkscapeApplication* app) std::cerr << "select_all: Not implemented!" << std::endl; } +template void -add_actions_selection(InkscapeApplication* app) +add_actions_selection(ConcreteInkscapeApplication* app) { app->add_action( "select-clear", sigc::bind(sigc::ptr_fun(&select_clear), app) ); app->add_action_radio_string( "select", sigc::bind(sigc::ptr_fun(&select_via_id), app), "null"); // Backwards compatible. @@ -111,6 +112,10 @@ add_actions_selection(InkscapeApplication* app) app->add_action_radio_string( "select-via-selector",sigc::bind(sigc::ptr_fun(&select_via_selector), app), "null"); } +template void add_actions_selection(ConcreteInkscapeApplication* app); +template void add_actions_selection(ConcreteInkscapeApplication* app); + + -- cgit v1.2.3