From 9be7e170b86d4d0529681b48949175fee00b2d6b Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Fri, 7 Apr 2023 08:02:44 -0400 Subject: [PATCH] actionmuxer: Make the compiler warn Warn when the boolean return isn't used, since we may not initialize the out arguments in the FALSE case (see the previous commits). --- gtk/gtkactionmuxerprivate.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gtk/gtkactionmuxerprivate.h b/gtk/gtkactionmuxerprivate.h index db69cabc9d..a3e3cf3fc5 100644 --- a/gtk/gtkactionmuxerprivate.h +++ b/gtk/gtkactionmuxerprivate.h @@ -74,7 +74,7 @@ gboolean gtk_action_muxer_query_action (GtkActi const GVariantType **parameter_type, const GVariantType **state_type, GVariant **state_hint, - GVariant **state); + GVariant **state) G_GNUC_WARN_UNUSED_RESULT; void gtk_action_muxer_activate_action (GtkActionMuxer *muxer, const char *action_name, GVariant *parameter); -- 2.30.2