mirror of
https://github.com/brl/mutter.git
synced 2024-11-23 00:20: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,7 +202,8 @@ meta_context_notify_ready (MetaContext *context)
|
||||
g_return_if_fail (priv->state == META_CONTEXT_STATE_STARTED ||
|
||||
priv->state == META_CONTEXT_STATE_RUNNING);
|
||||
|
||||
META_CONTEXT_GET_CLASS (context)->notify_ready (context);
|
||||
if (META_CONTEXT_GET_CLASS (context)->notify_ready)
|
||||
META_CONTEXT_GET_CLASS (context)->notify_ready (context);
|
||||
}
|
||||
|
||||
const char *
|
||||
|
Loading…
Reference in New Issue
Block a user