Remove meta_quit()

It is no longer used, so remove it. This also removes the intermediate
MetaContext global singleton, as it is no longer needed.

Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1861>
This commit is contained in:
Jonas Ådahl
2021-03-03 17:26:47 +01:00
parent 122aa94642
commit 6768b509ea
4 changed files with 1 additions and 50 deletions

View File

@ -454,24 +454,6 @@ meta_context_finalize (GObject *object)
G_OBJECT_CLASS (meta_context_parent_class)->finalize (object);
}
/*
* NOTE!
*
* This global singletone is a temporary stop-gap solution
* to allow migrating to MetaContext in smaller steps. It will
* be removed later in this series of changes.
*/
static MetaContext *_context_temporary;
MetaContext *
meta_get_context_temporary (void);
MetaContext *
meta_get_context_temporary (void)
{
return _context_temporary;
}
static void
meta_context_class_init (MetaContextClass *klass)
{
@ -500,9 +482,6 @@ meta_context_init (MetaContext *context)
{
MetaContextPrivate *priv = meta_context_get_instance_private (context);
g_assert (!_context_temporary);
_context_temporary = context;
priv->plugin_gtype = G_TYPE_NONE;
if (!setlocale (LC_ALL, ""))