summaryrefslogtreecommitdiffstats
path: root/src/actions/actions-selection.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/actions/actions-selection.cpp')
-rw-r--r--src/actions/actions-selection.cpp7
1 files changed, 6 insertions, 1 deletions
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<class T>
void
-add_actions_selection(InkscapeApplication* app)
+add_actions_selection(ConcreteInkscapeApplication<T>* app)
{
app->add_action( "select-clear", sigc::bind<InkscapeApplication*>(sigc::ptr_fun(&select_clear), app) );
app->add_action_radio_string( "select", sigc::bind<InkscapeApplication*>(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<InkscapeApplication*>(sigc::ptr_fun(&select_via_selector), app), "null");
}
+template void add_actions_selection(ConcreteInkscapeApplication<Gio::Application>* app);
+template void add_actions_selection(ConcreteInkscapeApplication<Gtk::Application>* app);
+
+