plugin: Add back prototypes to META_PLUGIN_DECLARE()
G_DEFINE_DYNAMIC_TYPE() doesn't include those, so they are still needed.
This commit is contained in:
@@ -312,6 +312,14 @@ struct _MetaPluginVersion
|
|||||||
META_PLUGIN_API_VERSION \
|
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, \
|
G_DEFINE_DYNAMIC_TYPE_EXTENDED(ObjectName, object_name, \
|
||||||
META_TYPE_PLUGIN, 0, CODE) \
|
META_TYPE_PLUGIN, 0, CODE) \
|
||||||
\
|
\
|
||||||
|
Reference in New Issue
Block a user