diff --git a/shell/platform/linux/fl_basic_message_channel.cc b/shell/platform/linux/fl_basic_message_channel.cc index 7b7c35a4ab49f..7d2b5afe60a6a 100644 --- a/shell/platform/linux/fl_basic_message_channel.cc +++ b/shell/platform/linux/fl_basic_message_channel.cc @@ -33,9 +33,6 @@ struct _FlBasicMessageChannelResponseHandle { FlBinaryMessengerResponseHandle* response_handle; }; -// Added here to stop the compiler from optimizing this function away. -G_MODULE_EXPORT GType fl_basic_message_channel_get_type(); - G_DEFINE_TYPE(FlBasicMessageChannel, fl_basic_message_channel, G_TYPE_OBJECT) G_DEFINE_TYPE(FlBasicMessageChannelResponseHandle, fl_basic_message_channel_response_handle, diff --git a/shell/platform/linux/fl_binary_messenger.cc b/shell/platform/linux/fl_binary_messenger.cc index 63e42f71b36b5..7793e9df0040a 100644 --- a/shell/platform/linux/fl_binary_messenger.cc +++ b/shell/platform/linux/fl_binary_messenger.cc @@ -10,9 +10,6 @@ #include -// Added here to stop the compiler from optimizing this function away. -G_MODULE_EXPORT GType fl_binary_messenger_get_type(); - G_DEFINE_QUARK(fl_binary_messenger_codec_error_quark, fl_binary_messenger_codec_error) diff --git a/shell/platform/linux/fl_event_channel.cc b/shell/platform/linux/fl_event_channel.cc index 008734789aec2..418acd89bfbbb 100644 --- a/shell/platform/linux/fl_event_channel.cc +++ b/shell/platform/linux/fl_event_channel.cc @@ -40,9 +40,6 @@ struct _FlEventChannelResponseHandle { FlBinaryMessengerResponseHandle* response_handle; }; -// Added here to stop the compiler from optimizing this function away. -G_MODULE_EXPORT GType fl_event_channel_get_type(); - G_DEFINE_TYPE(FlEventChannel, fl_event_channel, G_TYPE_OBJECT) // Handle method calls from the Dart side of the channel. diff --git a/shell/platform/linux/fl_message_codec.cc b/shell/platform/linux/fl_message_codec.cc index 5b4454f2acb25..38aa967f2fe30 100644 --- a/shell/platform/linux/fl_message_codec.cc +++ b/shell/platform/linux/fl_message_codec.cc @@ -8,9 +8,6 @@ G_DEFINE_QUARK(fl_message_codec_error_quark, fl_message_codec_error) -// Added here to stop the compiler from optimizing this function away. -G_MODULE_EXPORT GType fl_message_codec_get_type(); - G_DEFINE_TYPE(FlMessageCodec, fl_message_codec, G_TYPE_OBJECT) static void fl_message_codec_class_init(FlMessageCodecClass* klass) {} diff --git a/shell/platform/linux/fl_method_channel.cc b/shell/platform/linux/fl_method_channel.cc index d4c45ed920a7c..d967c50e9bdc6 100644 --- a/shell/platform/linux/fl_method_channel.cc +++ b/shell/platform/linux/fl_method_channel.cc @@ -31,9 +31,6 @@ struct _FlMethodChannel { GDestroyNotify method_call_handler_destroy_notify; }; -// Added here to stop the compiler from optimizing this function away. -G_MODULE_EXPORT GType fl_method_channel_get_type(); - G_DEFINE_TYPE(FlMethodChannel, fl_method_channel, G_TYPE_OBJECT) // Called when a binary message is received on this channel. diff --git a/shell/platform/linux/fl_method_codec.cc b/shell/platform/linux/fl_method_codec.cc index 38cedb602d0c3..5b6d87c47a39a 100644 --- a/shell/platform/linux/fl_method_codec.cc +++ b/shell/platform/linux/fl_method_codec.cc @@ -7,9 +7,6 @@ #include -// Added here to stop the compiler from optimizing this function away. -G_MODULE_EXPORT GType fl_method_codec_get_type(); - G_DEFINE_TYPE(FlMethodCodec, fl_method_codec, G_TYPE_OBJECT) static void fl_method_codec_class_init(FlMethodCodecClass* klass) {} diff --git a/shell/platform/linux/fl_method_response.cc b/shell/platform/linux/fl_method_response.cc index 1c0483738f810..d970ffa127fa7 100644 --- a/shell/platform/linux/fl_method_response.cc +++ b/shell/platform/linux/fl_method_response.cc @@ -26,12 +26,6 @@ struct _FlMethodNotImplementedResponse { FlMethodResponse parent_instance; }; -// Added here to stop the compiler from optimizing these functions away. -G_MODULE_EXPORT GType fl_method_response_get_type(); -G_MODULE_EXPORT GType fl_method_success_response_get_type(); -G_MODULE_EXPORT GType fl_method_error_response_get_type(); -G_MODULE_EXPORT GType fl_method_not_implemented_response_get_type(); - G_DEFINE_TYPE(FlMethodResponse, fl_method_response, G_TYPE_OBJECT) G_DEFINE_TYPE(FlMethodSuccessResponse, fl_method_success_response, diff --git a/shell/platform/linux/fl_pixel_buffer_texture.cc b/shell/platform/linux/fl_pixel_buffer_texture.cc index b284784eb5b07..374368f039c09 100644 --- a/shell/platform/linux/fl_pixel_buffer_texture.cc +++ b/shell/platform/linux/fl_pixel_buffer_texture.cc @@ -16,9 +16,6 @@ typedef struct { static void fl_pixel_buffer_texture_iface_init(FlTextureInterface* iface); -// Added here to stop the compiler from optimising this function away. -G_MODULE_EXPORT GType fl_pixel_buffer_texture_get_type(); - G_DEFINE_TYPE_WITH_CODE( FlPixelBufferTexture, fl_pixel_buffer_texture, diff --git a/shell/platform/linux/fl_plugin_registrar.cc b/shell/platform/linux/fl_plugin_registrar.cc index c2b83fb6bfb57..403af32aa706a 100644 --- a/shell/platform/linux/fl_plugin_registrar.cc +++ b/shell/platform/linux/fl_plugin_registrar.cc @@ -26,9 +26,6 @@ struct _FlPluginRegistrarImpl { FlTextureRegistrar* texture_registrar; }; -// Added here to stop the compiler from optimizing this function away. -G_MODULE_EXPORT GType fl_plugin_registrar_get_type(); - static void fl_plugin_registrar_impl_iface_init( FlPluginRegistrarInterface* iface); diff --git a/shell/platform/linux/fl_plugin_registry.cc b/shell/platform/linux/fl_plugin_registry.cc index 0d0ece40e8a63..18017904e40eb 100644 --- a/shell/platform/linux/fl_plugin_registry.cc +++ b/shell/platform/linux/fl_plugin_registry.cc @@ -6,9 +6,6 @@ #include -// Added here to stop the compiler from optimizing this function away. -G_MODULE_EXPORT GType fl_plugin_registry_get_type(); - G_DEFINE_INTERFACE(FlPluginRegistry, fl_plugin_registry, G_TYPE_OBJECT) void fl_plugin_registry_default_init(FlPluginRegistryInterface* self) {} diff --git a/shell/platform/linux/fl_texture.cc b/shell/platform/linux/fl_texture.cc index 8ede3bdb517d6..6c0afcf9acd0a 100644 --- a/shell/platform/linux/fl_texture.cc +++ b/shell/platform/linux/fl_texture.cc @@ -8,9 +8,6 @@ #include #include -// Added here to stop the compiler from optimising this function away. -G_MODULE_EXPORT GType fl_texture_get_type(); - G_DEFINE_INTERFACE(FlTexture, fl_texture, G_TYPE_OBJECT) static void fl_texture_default_init(FlTextureInterface* self) {} diff --git a/shell/platform/linux/fl_texture_gl.cc b/shell/platform/linux/fl_texture_gl.cc index a043c36f879fc..f91922a952f37 100644 --- a/shell/platform/linux/fl_texture_gl.cc +++ b/shell/platform/linux/fl_texture_gl.cc @@ -15,9 +15,6 @@ typedef struct { static void fl_texture_gl_texture_iface_init(FlTextureInterface* iface); -// Added here to stop the compiler from optimising this function away. -G_MODULE_EXPORT GType fl_texture_gl_get_type(); - G_DEFINE_TYPE_WITH_CODE(FlTextureGL, fl_texture_gl, G_TYPE_OBJECT, diff --git a/shell/platform/linux/public/flutter_linux/fl_basic_message_channel.h b/shell/platform/linux/public/flutter_linux/fl_basic_message_channel.h index 9e7f4e46bcef9..f3b2bd8ebef0f 100644 --- a/shell/platform/linux/public/flutter_linux/fl_basic_message_channel.h +++ b/shell/platform/linux/public/flutter_linux/fl_basic_message_channel.h @@ -11,18 +11,21 @@ #include #include +#include #include "fl_binary_messenger.h" #include "fl_message_codec.h" G_BEGIN_DECLS +G_MODULE_EXPORT G_DECLARE_FINAL_TYPE(FlBasicMessageChannel, fl_basic_message_channel, FL, BASIC_MESSAGE_CHANNEL, GObject) +G_MODULE_EXPORT G_DECLARE_FINAL_TYPE(FlBasicMessageChannelResponseHandle, fl_basic_message_channel_response_handle, FL, diff --git a/shell/platform/linux/public/flutter_linux/fl_binary_codec.h b/shell/platform/linux/public/flutter_linux/fl_binary_codec.h index e7223d8dfa272..2f9858cb39551 100644 --- a/shell/platform/linux/public/flutter_linux/fl_binary_codec.h +++ b/shell/platform/linux/public/flutter_linux/fl_binary_codec.h @@ -9,10 +9,13 @@ #error "Only can be included directly." #endif +#include + #include "fl_message_codec.h" G_BEGIN_DECLS +G_MODULE_EXPORT G_DECLARE_FINAL_TYPE(FlBinaryCodec, fl_binary_codec, FL, diff --git a/shell/platform/linux/public/flutter_linux/fl_binary_messenger.h b/shell/platform/linux/public/flutter_linux/fl_binary_messenger.h index 0fa7d9980fc44..f98bca70088b1 100644 --- a/shell/platform/linux/public/flutter_linux/fl_binary_messenger.h +++ b/shell/platform/linux/public/flutter_linux/fl_binary_messenger.h @@ -11,6 +11,7 @@ #include #include +#include G_BEGIN_DECLS @@ -29,12 +30,14 @@ typedef enum { GQuark fl_binary_messenger_codec_error_quark(void) G_GNUC_CONST; +G_MODULE_EXPORT G_DECLARE_INTERFACE(FlBinaryMessenger, fl_binary_messenger, FL, BINARY_MESSENGER, GObject) +G_MODULE_EXPORT G_DECLARE_DERIVABLE_TYPE(FlBinaryMessengerResponseHandle, fl_binary_messenger_response_handle, FL, diff --git a/shell/platform/linux/public/flutter_linux/fl_dart_project.h b/shell/platform/linux/public/flutter_linux/fl_dart_project.h index 93bd9a4c18d99..9664dfc75928f 100644 --- a/shell/platform/linux/public/flutter_linux/fl_dart_project.h +++ b/shell/platform/linux/public/flutter_linux/fl_dart_project.h @@ -6,6 +6,7 @@ #define FLUTTER_SHELL_PLATFORM_LINUX_FL_DART_PROJECT_H_ #include +#include #if !defined(__FLUTTER_LINUX_INSIDE__) && !defined(FLUTTER_LINUX_COMPILATION) #error "Only can be included directly." @@ -13,6 +14,7 @@ G_BEGIN_DECLS +G_MODULE_EXPORT G_DECLARE_FINAL_TYPE(FlDartProject, fl_dart_project, FL, DART_PROJECT, GObject) /** diff --git a/shell/platform/linux/public/flutter_linux/fl_engine.h b/shell/platform/linux/public/flutter_linux/fl_engine.h index 6740c0bd8cd81..fddf619fcc505 100644 --- a/shell/platform/linux/public/flutter_linux/fl_engine.h +++ b/shell/platform/linux/public/flutter_linux/fl_engine.h @@ -10,6 +10,7 @@ #endif #include +#include #include "fl_binary_messenger.h" #include "fl_dart_project.h" @@ -17,6 +18,7 @@ G_BEGIN_DECLS +G_MODULE_EXPORT G_DECLARE_FINAL_TYPE(FlEngine, fl_engine, FL, ENGINE, GObject) /** diff --git a/shell/platform/linux/public/flutter_linux/fl_event_channel.h b/shell/platform/linux/public/flutter_linux/fl_event_channel.h index 7141defbed72b..51e22a1d3ade3 100644 --- a/shell/platform/linux/public/flutter_linux/fl_event_channel.h +++ b/shell/platform/linux/public/flutter_linux/fl_event_channel.h @@ -11,6 +11,7 @@ #include #include +#include #include "fl_binary_messenger.h" #include "fl_method_channel.h" @@ -18,6 +19,7 @@ G_BEGIN_DECLS +G_MODULE_EXPORT G_DECLARE_FINAL_TYPE(FlEventChannel, fl_event_channel, FL, diff --git a/shell/platform/linux/public/flutter_linux/fl_json_message_codec.h b/shell/platform/linux/public/flutter_linux/fl_json_message_codec.h index ddf68189ac357..a24075950bd85 100644 --- a/shell/platform/linux/public/flutter_linux/fl_json_message_codec.h +++ b/shell/platform/linux/public/flutter_linux/fl_json_message_codec.h @@ -9,6 +9,8 @@ #error "Only can be included directly." #endif +#include + #include "fl_message_codec.h" G_BEGIN_DECLS @@ -32,6 +34,7 @@ typedef enum { GQuark fl_json_message_codec_error_quark(void) G_GNUC_CONST; +G_MODULE_EXPORT G_DECLARE_FINAL_TYPE(FlJsonMessageCodec, fl_json_message_codec, FL, diff --git a/shell/platform/linux/public/flutter_linux/fl_json_method_codec.h b/shell/platform/linux/public/flutter_linux/fl_json_method_codec.h index 70ddf793b1039..9755f4bfe9e89 100644 --- a/shell/platform/linux/public/flutter_linux/fl_json_method_codec.h +++ b/shell/platform/linux/public/flutter_linux/fl_json_method_codec.h @@ -9,10 +9,13 @@ #error "Only can be included directly." #endif +#include + #include "fl_method_codec.h" G_BEGIN_DECLS +G_MODULE_EXPORT G_DECLARE_FINAL_TYPE(FlJsonMethodCodec, fl_json_method_codec, FL, diff --git a/shell/platform/linux/public/flutter_linux/fl_message_codec.h b/shell/platform/linux/public/flutter_linux/fl_message_codec.h index b74aad264b78d..451a6eaba7ad7 100644 --- a/shell/platform/linux/public/flutter_linux/fl_message_codec.h +++ b/shell/platform/linux/public/flutter_linux/fl_message_codec.h @@ -10,6 +10,7 @@ #endif #include +#include #include "fl_value.h" @@ -37,6 +38,7 @@ typedef enum { GQuark fl_message_codec_error_quark(void) G_GNUC_CONST; +G_MODULE_EXPORT G_DECLARE_DERIVABLE_TYPE(FlMessageCodec, fl_message_codec, FL, diff --git a/shell/platform/linux/public/flutter_linux/fl_method_call.h b/shell/platform/linux/public/flutter_linux/fl_method_call.h index 5a5ebc7419af2..bc9a4581e8b7a 100644 --- a/shell/platform/linux/public/flutter_linux/fl_method_call.h +++ b/shell/platform/linux/public/flutter_linux/fl_method_call.h @@ -10,12 +10,14 @@ #endif #include +#include #include "fl_method_response.h" #include "fl_value.h" G_BEGIN_DECLS +G_MODULE_EXPORT G_DECLARE_FINAL_TYPE(FlMethodCall, fl_method_call, FL, METHOD_CALL, GObject) /** diff --git a/shell/platform/linux/public/flutter_linux/fl_method_channel.h b/shell/platform/linux/public/flutter_linux/fl_method_channel.h index f57918d134fff..fe43a94ec9de7 100644 --- a/shell/platform/linux/public/flutter_linux/fl_method_channel.h +++ b/shell/platform/linux/public/flutter_linux/fl_method_channel.h @@ -11,6 +11,7 @@ #include #include +#include #include "fl_binary_messenger.h" #include "fl_method_call.h" @@ -19,6 +20,7 @@ G_BEGIN_DECLS +G_MODULE_EXPORT G_DECLARE_FINAL_TYPE(FlMethodChannel, fl_method_channel, FL, diff --git a/shell/platform/linux/public/flutter_linux/fl_method_codec.h b/shell/platform/linux/public/flutter_linux/fl_method_codec.h index 97bf8e929b6e1..86c7d6dfb573f 100644 --- a/shell/platform/linux/public/flutter_linux/fl_method_codec.h +++ b/shell/platform/linux/public/flutter_linux/fl_method_codec.h @@ -10,12 +10,14 @@ #endif #include +#include #include "fl_method_response.h" #include "fl_value.h" G_BEGIN_DECLS +G_MODULE_EXPORT G_DECLARE_DERIVABLE_TYPE(FlMethodCodec, fl_method_codec, FL, diff --git a/shell/platform/linux/public/flutter_linux/fl_method_response.h b/shell/platform/linux/public/flutter_linux/fl_method_response.h index 90c4b9cc075db..2306c3e2ea611 100644 --- a/shell/platform/linux/public/flutter_linux/fl_method_response.h +++ b/shell/platform/linux/public/flutter_linux/fl_method_response.h @@ -10,6 +10,7 @@ #endif #include +#include #include "fl_value.h" @@ -36,6 +37,7 @@ typedef enum { GQuark fl_method_response_error_quark(void) G_GNUC_CONST; +G_MODULE_EXPORT G_DECLARE_DERIVABLE_TYPE(FlMethodResponse, fl_method_response, FL, @@ -46,18 +48,21 @@ struct _FlMethodResponseClass { GObjectClass parent_class; }; +G_MODULE_EXPORT G_DECLARE_FINAL_TYPE(FlMethodSuccessResponse, fl_method_success_response, FL, METHOD_SUCCESS_RESPONSE, FlMethodResponse) +G_MODULE_EXPORT G_DECLARE_FINAL_TYPE(FlMethodErrorResponse, fl_method_error_response, FL, METHOD_ERROR_RESPONSE, FlMethodResponse) +G_MODULE_EXPORT G_DECLARE_FINAL_TYPE(FlMethodNotImplementedResponse, fl_method_not_implemented_response, FL, diff --git a/shell/platform/linux/public/flutter_linux/fl_pixel_buffer_texture.h b/shell/platform/linux/public/flutter_linux/fl_pixel_buffer_texture.h index 7493cba3b427f..31374026a5a28 100644 --- a/shell/platform/linux/public/flutter_linux/fl_pixel_buffer_texture.h +++ b/shell/platform/linux/public/flutter_linux/fl_pixel_buffer_texture.h @@ -9,10 +9,13 @@ #error "Only can be included directly." #endif +#include + #include "fl_texture.h" G_BEGIN_DECLS +G_MODULE_EXPORT G_DECLARE_DERIVABLE_TYPE(FlPixelBufferTexture, fl_pixel_buffer_texture, FL, diff --git a/shell/platform/linux/public/flutter_linux/fl_plugin_registrar.h b/shell/platform/linux/public/flutter_linux/fl_plugin_registrar.h index 6382804024e71..2bbcb336ceea4 100644 --- a/shell/platform/linux/public/flutter_linux/fl_plugin_registrar.h +++ b/shell/platform/linux/public/flutter_linux/fl_plugin_registrar.h @@ -10,6 +10,7 @@ #endif #include +#include #include "fl_binary_messenger.h" #include "fl_texture_registrar.h" @@ -17,6 +18,7 @@ G_BEGIN_DECLS +G_MODULE_EXPORT G_DECLARE_INTERFACE(FlPluginRegistrar, fl_plugin_registrar, FL, diff --git a/shell/platform/linux/public/flutter_linux/fl_plugin_registry.h b/shell/platform/linux/public/flutter_linux/fl_plugin_registry.h index ac16aba26adac..b20df179722fe 100644 --- a/shell/platform/linux/public/flutter_linux/fl_plugin_registry.h +++ b/shell/platform/linux/public/flutter_linux/fl_plugin_registry.h @@ -10,11 +10,13 @@ #endif #include +#include #include "fl_plugin_registrar.h" G_BEGIN_DECLS +G_MODULE_EXPORT G_DECLARE_INTERFACE(FlPluginRegistry, fl_plugin_registry, FL, diff --git a/shell/platform/linux/public/flutter_linux/fl_standard_message_codec.h b/shell/platform/linux/public/flutter_linux/fl_standard_message_codec.h index 2af7b83b86348..12718b443befa 100644 --- a/shell/platform/linux/public/flutter_linux/fl_standard_message_codec.h +++ b/shell/platform/linux/public/flutter_linux/fl_standard_message_codec.h @@ -9,10 +9,13 @@ #error "Only can be included directly." #endif +#include + #include "fl_message_codec.h" G_BEGIN_DECLS +G_MODULE_EXPORT G_DECLARE_FINAL_TYPE(FlStandardMessageCodec, fl_standard_message_codec, FL, diff --git a/shell/platform/linux/public/flutter_linux/fl_standard_method_codec.h b/shell/platform/linux/public/flutter_linux/fl_standard_method_codec.h index 1685ebced9830..46aa02a87b674 100644 --- a/shell/platform/linux/public/flutter_linux/fl_standard_method_codec.h +++ b/shell/platform/linux/public/flutter_linux/fl_standard_method_codec.h @@ -9,10 +9,13 @@ #error "Only can be included directly." #endif +#include + #include "fl_method_codec.h" G_BEGIN_DECLS +G_MODULE_EXPORT G_DECLARE_FINAL_TYPE(FlStandardMethodCodec, fl_standard_method_codec, FL, diff --git a/shell/platform/linux/public/flutter_linux/fl_string_codec.h b/shell/platform/linux/public/flutter_linux/fl_string_codec.h index 8f49e9fe0065d..c96786d0c36ca 100644 --- a/shell/platform/linux/public/flutter_linux/fl_string_codec.h +++ b/shell/platform/linux/public/flutter_linux/fl_string_codec.h @@ -9,10 +9,13 @@ #error "Only can be included directly." #endif +#include + #include "fl_message_codec.h" G_BEGIN_DECLS +G_MODULE_EXPORT G_DECLARE_FINAL_TYPE(FlStringCodec, fl_string_codec, FL, diff --git a/shell/platform/linux/public/flutter_linux/fl_texture.h b/shell/platform/linux/public/flutter_linux/fl_texture.h index ae0372c19ced8..e91205df770ac 100644 --- a/shell/platform/linux/public/flutter_linux/fl_texture.h +++ b/shell/platform/linux/public/flutter_linux/fl_texture.h @@ -10,10 +10,12 @@ #endif #include +#include #include G_BEGIN_DECLS +G_MODULE_EXPORT G_DECLARE_INTERFACE(FlTexture, fl_texture, FL, TEXTURE, GObject) /** diff --git a/shell/platform/linux/public/flutter_linux/fl_texture_gl.h b/shell/platform/linux/public/flutter_linux/fl_texture_gl.h index c3d4eee744aa2..b7cc94c49d884 100644 --- a/shell/platform/linux/public/flutter_linux/fl_texture_gl.h +++ b/shell/platform/linux/public/flutter_linux/fl_texture_gl.h @@ -10,11 +10,13 @@ #endif #include +#include #include #include "fl_texture.h" G_BEGIN_DECLS +G_MODULE_EXPORT G_DECLARE_DERIVABLE_TYPE(FlTextureGL, fl_texture_gl, FL, TEXTURE_GL, GObject) /** diff --git a/shell/platform/linux/public/flutter_linux/fl_texture_registrar.h b/shell/platform/linux/public/flutter_linux/fl_texture_registrar.h index 1c03cdc3ec731..65803cbb897fd 100644 --- a/shell/platform/linux/public/flutter_linux/fl_texture_registrar.h +++ b/shell/platform/linux/public/flutter_linux/fl_texture_registrar.h @@ -10,12 +10,14 @@ #endif #include +#include #include #include "fl_texture.h" G_BEGIN_DECLS +G_MODULE_EXPORT G_DECLARE_INTERFACE(FlTextureRegistrar, fl_texture_registrar, FL, diff --git a/shell/platform/linux/public/flutter_linux/fl_view.h b/shell/platform/linux/public/flutter_linux/fl_view.h index e6b122c8f0a97..dc0db9aa37da8 100644 --- a/shell/platform/linux/public/flutter_linux/fl_view.h +++ b/shell/platform/linux/public/flutter_linux/fl_view.h @@ -9,6 +9,7 @@ #error "Only can be included directly." #endif +#include #include #include "fl_dart_project.h" @@ -16,6 +17,7 @@ G_BEGIN_DECLS +G_MODULE_EXPORT G_DECLARE_FINAL_TYPE(FlView, fl_view, FL, VIEW, GtkBox) /**