Update linux compilation generated files (#489)

pull/493/head
Brett Morgan 4 years ago committed by GitHub
parent 11cbd8b637
commit 9140559040
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -6,6 +6,7 @@
#include <file_chooser/file_chooser_plugin.h>
#include <menubar/menubar_plugin.h>
#include <url_launcher_linux/url_launcher_plugin.h>
void fl_register_plugins(FlPluginRegistry* registry) {
g_autoptr(FlPluginRegistrar) file_chooser_registrar =
@ -14,4 +15,7 @@ void fl_register_plugins(FlPluginRegistry* registry) {
g_autoptr(FlPluginRegistrar) menubar_registrar =
fl_plugin_registry_get_registrar_for_plugin(registry, "MenubarPlugin");
menubar_plugin_register_with_registrar(menubar_registrar);
g_autoptr(FlPluginRegistrar) url_launcher_linux_registrar =
fl_plugin_registry_get_registrar_for_plugin(registry, "UrlLauncherPlugin");
url_launcher_plugin_register_with_registrar(url_launcher_linux_registrar);
}

@ -5,6 +5,7 @@
list(APPEND FLUTTER_PLUGIN_LIST
file_chooser
menubar
url_launcher_linux
)
set(PLUGIN_BUNDLED_LIBRARIES)

Loading…
Cancel
Save