From 2167ccddedeb9022e65a0d12c621adf598175afa Mon Sep 17 00:00:00 2001 From: Robert Ancell Date: Fri, 15 May 2020 09:19:00 +1200 Subject: [PATCH] Fix incorrect header for #FlBasicMessageChannel::respond (flutter/engine#18365) --- .../public/flutter_linux/fl_basic_message_channel.h | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/engine/src/flutter/shell/platform/linux/public/flutter_linux/fl_basic_message_channel.h b/engine/src/flutter/shell/platform/linux/public/flutter_linux/fl_basic_message_channel.h index a26332bb0e..5bdd5bb422 100644 --- a/engine/src/flutter/shell/platform/linux/public/flutter_linux/fl_basic_message_channel.h +++ b/engine/src/flutter/shell/platform/linux/public/flutter_linux/fl_basic_message_channel.h @@ -87,11 +87,12 @@ void fl_basic_message_channel_set_message_handler( gpointer user_data); /** - * fl_basic_message_channel_send_response: + * fl_basic_message_channel_respond: * @channel: a #FlBasicMessageChannel * @response_handle: (transfer full): handle that was provided in a * #FlBasicMessageChannelMessageHandler - * @response: (allow-none): response to send or %NULL for an empty response + * @message: (allow-none): message response to send or %NULL for an empty + * response * @error: (allow-none): #GError location to store the error occurring, or %NULL * to ignore * @@ -99,10 +100,10 @@ void fl_basic_message_channel_set_message_handler( * * Returns: %TRUE on success. */ -gboolean fl_basic_message_channel_send_response( +gboolean fl_basic_message_channel_respond( FlBasicMessageChannel* channel, FlBasicMessageChannelResponseHandle* response_handle, - FlValue* response, + FlValue* message, GError** error); /**