Fix wrong method name - copy/paste error from FlBinaryMessenger (flutter/engine#18596)

This commit is contained in:
Robert Ancell
2020-05-27 09:17:16 +12:00
committed by GitHub
parent 0338f02615
commit 9698ed7d38
2 changed files with 4 additions and 5 deletions

View File

@@ -206,7 +206,7 @@ G_MODULE_EXPORT void fl_basic_message_channel_send(FlBasicMessageChannel* self,
g_steal_pointer(&task));
}
G_MODULE_EXPORT FlValue* fl_basic_message_channel_send_on_channel_finish(
G_MODULE_EXPORT FlValue* fl_basic_message_channel_send_finish(
FlBasicMessageChannel* self,
GAsyncResult* result,
GError** error) {

View File

@@ -187,10 +187,9 @@ void fl_basic_message_channel_send(FlBasicMessageChannel* channel,
*
* Returns: message response on success or %NULL on error.
*/
FlValue* fl_basic_message_channel_send_on_channel_finish(
FlBasicMessageChannel* channel,
GAsyncResult* result,
GError** error);
FlValue* fl_basic_message_channel_send_finish(FlBasicMessageChannel* channel,
GAsyncResult* result,
GError** error);
G_END_DECLS