summaryrefslogtreecommitdiffstats
path: root/linux/flutter/generated_plugin_registrant.cc
diff options
context:
space:
mode:
Diffstat (limited to 'linux/flutter/generated_plugin_registrant.cc')
-rw-r--r--linux/flutter/generated_plugin_registrant.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/linux/flutter/generated_plugin_registrant.cc b/linux/flutter/generated_plugin_registrant.cc
index e71a16d..4ec6322 100644
--- a/linux/flutter/generated_plugin_registrant.cc
+++ b/linux/flutter/generated_plugin_registrant.cc
@@ -6,6 +6,10 @@
#include "generated_plugin_registrant.h"
+#include <rive_common/rive_plugin.h>
void fl_register_plugins(FlPluginRegistry* registry) {
+ g_autoptr(FlPluginRegistrar) rive_common_registrar =
+ fl_plugin_registry_get_registrar_for_plugin(registry, "RivePlugin");
+ rive_plugin_register_with_registrar(rive_common_registrar);
}