diff --git a/c_glib/arrow-flight-glib/client.cpp b/c_glib/arrow-flight-glib/client.cpp index 75b02ec25869f..596aa4b3a5a03 100644 --- a/c_glib/arrow-flight-glib/client.cpp +++ b/c_glib/arrow-flight-glib/client.cpp @@ -274,8 +274,8 @@ gaflight_call_options_clear_headers(GAFlightCallOptions *options) /** * gaflight_call_options_foreach_header: * @options: A #GAFlightCallOptions. - * @func: (scope call): The user's callback function. - * @user_data: (closure): Data for @func. + * @func: (scope call) (closure user_data): The user's callback function. + * @user_data: Data for @func. * * Iterates over all headers in the options. * diff --git a/c_glib/arrow-flight-glib/server.cpp b/c_glib/arrow-flight-glib/server.cpp index e39fd97b0d06c..2feeb853e2c51 100644 --- a/c_glib/arrow-flight-glib/server.cpp +++ b/c_glib/arrow-flight-glib/server.cpp @@ -461,8 +461,8 @@ gaflight_server_call_context_class_init(GAFlightServerCallContextClass *klass) /** * gaflight_server_call_context_foreach_incoming_header: * @context: A #GAFlightServerCallContext. - * @func: (scope call): The user's callback function. - * @user_data: (closure): Data for @func. + * @func: (scope call) (closure user_data): The user's callback function. + * @user_data: Data for @func. * * Iterates over all incoming headers. *