diff options
author | Matthias Clasen <mclasen@redhat.com> | 2023-04-07 08:02:44 -0400 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2023-04-07 08:03:46 -0400 |
commit | b8d02c9398b08ff5b29fb43b1d475f281d28e548 (patch) | |
tree | b2c920be006cb47aeeb4b072d1e50d25b7cde08a | |
parent | d97514ec67cad97c6ef1ac5eac5916aea8ace090 (diff) | |
download | gtk+-b8d02c9398b08ff5b29fb43b1d475f281d28e548.tar.gz |
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).
-rw-r--r-- | gtk/gtkactionmuxerprivate.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/gtkactionmuxerprivate.h b/gtk/gtkactionmuxerprivate.h index a7e03f0078..a725a8295c 100644 --- a/gtk/gtkactionmuxerprivate.h +++ b/gtk/gtkactionmuxerprivate.h @@ -73,7 +73,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); |