mirror of
https://github.com/brl/mutter.git
synced 2024-11-23 08:30:42 -05:00
core/context: Make notify_ready vfunc optional
As it is used only in a X11 build for session management See next commit Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/3540>
This commit is contained in:
parent
947f20b1a7
commit
c388abe1e3
@ -202,6 +202,7 @@ meta_context_notify_ready (MetaContext *context)
|
|||||||
g_return_if_fail (priv->state == META_CONTEXT_STATE_STARTED ||
|
g_return_if_fail (priv->state == META_CONTEXT_STATE_STARTED ||
|
||||||
priv->state == META_CONTEXT_STATE_RUNNING);
|
priv->state == META_CONTEXT_STATE_RUNNING);
|
||||||
|
|
||||||
|
if (META_CONTEXT_GET_CLASS (context)->notify_ready)
|
||||||
META_CONTEXT_GET_CLASS (context)->notify_ready (context);
|
META_CONTEXT_GET_CLASS (context)->notify_ready (context);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user