mirror of
https://github.com/brl/mutter.git
synced 2024-11-24 17:10:40 -05:00
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:
parent
f0c9c25cf8
commit
11d5e00003
@ -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) \
|
||||
\
|
||||
|
Loading…
Reference in New Issue
Block a user