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).
This commit is contained in:
Matthias Clasen
2023-04-07 08:02:44 -04:00
parent d97514ec67
commit b8d02c9398

View File

@@ -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);