mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-12-25 23:16:14 +01:00
GSimpleAction: fix mistake in last commit
Some bad copy-paste happening here...
This commit is contained in:
parent
1ec71144fb
commit
9e81c07ad6
@ -210,7 +210,7 @@ g_simple_action_activate (GAction *action,
|
|||||||
* for handling activation.
|
* for handling activation.
|
||||||
*/
|
*/
|
||||||
if (g_signal_has_handler_pending (action, g_simple_action_signals[SIGNAL_ACTIVATE], 0, TRUE))
|
if (g_signal_has_handler_pending (action, g_simple_action_signals[SIGNAL_ACTIVATE], 0, TRUE))
|
||||||
g_signal_emit (action, g_simple_action_signals[SIGNAL_CHANGE_STATE], 0, parameter);
|
g_signal_emit (action, g_simple_action_signals[SIGNAL_ACTIVATE], 0, parameter);
|
||||||
|
|
||||||
/* If not, do some reasonable defaults for stateful actions. */
|
/* If not, do some reasonable defaults for stateful actions. */
|
||||||
else if (simple->state)
|
else if (simple->state)
|
||||||
|
Loading…
Reference in New Issue
Block a user