From 11d5e000037e36de6e3ca4d87b10c41cae75c4ba Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Florian=20M=C3=BCllner?= Date: Wed, 1 Aug 2018 02:36:45 +0200 Subject: [PATCH] plugin: Add back prototypes to META_PLUGIN_DECLARE() G_DEFINE_DYNAMIC_TYPE() doesn't include those, so they are still needed. --- src/meta/meta-plugin.h | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/meta/meta-plugin.h b/src/meta/meta-plugin.h index 3dc428642..82382cd1d 100644 --- a/src/meta/meta-plugin.h +++ b/src/meta/meta-plugin.h @@ -312,6 +312,14 @@ struct _MetaPluginVersion META_PLUGIN_API_VERSION \ }; \ \ + /* Prototypes */ \ + G_MODULE_EXPORT GType \ + object_name##_get_type (void); \ + \ + G_MODULE_EXPORT GType \ + meta_plugin_register_type (GTypeModule *type_module); \ + \ + \ G_DEFINE_DYNAMIC_TYPE_EXTENDED(ObjectName, object_name, \ META_TYPE_PLUGIN, 0, CODE) \ \