GSimpleAction: fix mistake in last commit

Some bad copy-paste happening here...
This commit is contained in:
Ryan Lortie 2014-01-18 14:27:26 -05:00
parent 1ec71144fb
commit 9e81c07ad6

View File

@ -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)