diff options
author | Daniel Boles <dboles@src.gnome.org> | 2017-05-04 14:48:35 +0100 |
---|---|---|
committer | Daniel Boles <dboles@src.gnome.org> | 2017-05-04 15:08:11 +0100 |
commit | e8e5c1ecabc9672256b56dfd673dad4b4f353ef0 (patch) | |
tree | 72c2a6ad855ac6ec0a4d2caf3296c1b4b8dcc855 | |
parent | e432aef9f2fc81f98ba8fe2008cac7f85575c1b4 (diff) | |
download | glibmm-e8e5c1ecabc9672256b56dfd673dad4b4f353ef0.tar.gz |
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
-rw-r--r-- | gio/src/actionmap.ccg | 1 |
1 files changed, 1 insertions, 0 deletions
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; } |