app: fix action's proxy button clicks.

Using gimp_action_activate() ensures we call the action with the expected
GVariant for the specific class of action (and not a NULL GVariant).
This commit is contained in:
Jehan 2023-04-04 15:53:09 +02:00
parent f3eb6e1677
commit 9753755249

View file

@ -1135,7 +1135,8 @@ static void
gimp_action_proxy_button_activate (GtkButton *button,
GimpAction *action)
{
gimp_action_emit_activate (action, NULL);
/* Activate with the default parameter value. */
gimp_action_activate (action);
}
static void