From e8e5c1ecabc9672256b56dfd673dad4b4f353ef0 Mon Sep 17 00:00:00 2001 From: Daniel Boles Date: Thu, 4 May 2017 14:48:35 +0100 Subject: ActionMap: Really fix add_action_with_parameter() I replaced the old line that both created an Action without a parameter and added it, only with a line that creates an Action with a parameter... but did not add it. Of course, we need to do that, too. https://bugzilla.gnome.org/show_bug.cgi?id=774444 --- gio/src/actionmap.ccg | 1 + 1 file changed, 1 insertion(+) diff --git a/gio/src/actionmap.ccg b/gio/src/actionmap.ccg index 7b09fe71..3bf1ce03 100644 --- a/gio/src/actionmap.ccg +++ b/gio/src/actionmap.ccg @@ -56,6 +56,7 @@ ActionMap::add_action_with_parameter( { auto action = SimpleAction::create(name, parameter_type); action->signal_activate().connect(slot); + add_action(action); return action; } -- cgit v1.2.1