From: Matthias Clasen Date: Fri, 7 Apr 2023 12:02:44 +0000 (-0400) Subject: actionmuxer: Make the compiler warn X-Git-Tag: archive/raspbian/4.12.3+ds-1+rpi1~1^2^2^2~22^2~4^2~10^2~45 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=9be7e170b86d4d0529681b48949175fee00b2d6b;p=gtk4.git 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). --- 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);