diff --git a/engine/src/flutter/shell/platform/linux/public/flutter_linux/fl_method_channel.h b/engine/src/flutter/shell/platform/linux/public/flutter_linux/fl_method_channel.h index f4102ed29f..e03254bf94 100644 --- a/engine/src/flutter/shell/platform/linux/public/flutter_linux/fl_method_channel.h +++ b/engine/src/flutter/shell/platform/linux/public/flutter_linux/fl_method_channel.h @@ -54,7 +54,7 @@ G_DECLARE_FINAL_TYPE(FlMethodChannel, * (fl_method_not_implemented_response_new ()); * * g_autoptr(GError) error = NULL; - * if (!fl_method_call_respond(method_call, response)) + * if (!fl_method_call_respond(method_call, response, &error)) * g_warning ("Failed to send response: %s", error->message); * } *