context: Load plugin during setup phase

The plugin must be configured by the context implementation during the
configure phase.

Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1861>
This commit is contained in:
Jonas Ådahl
2021-03-02 11:48:22 +01:00
parent 75f9085ab9
commit fe652518af
3 changed files with 33 additions and 0 deletions

View File

@ -29,6 +29,10 @@
META_EXPORT
G_DECLARE_DERIVABLE_TYPE (MetaContext, meta_context, META, CONTEXT, GObject)
META_EXPORT
void meta_context_set_plugin_name (MetaContext *context,
const char *plugin_name);
META_EXPORT
gboolean meta_context_configure (MetaContext *context,
int *argc,