From 9753755249ce5b98bf5968ed4fbde9884184ecb2 Mon Sep 17 00:00:00 2001 From: Jehan Date: Tue, 4 Apr 2023 15:53:09 +0200 Subject: [PATCH] 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). --- app/widgets/gimpaction.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/widgets/gimpaction.c b/app/widgets/gimpaction.c index befc3c20dd..1523a0bb67 100644 --- a/app/widgets/gimpaction.c +++ b/app/widgets/gimpaction.c @@ -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