wayland: Remove meta_wayland_compositor_get_default()

Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/2718>
This commit is contained in:
Jonas Ådahl 2022-05-28 23:41:19 +02:00 committed by Robert Mader
parent f8376a43d3
commit 82abee5ad7
2 changed files with 0 additions and 18 deletions

View File

@ -66,21 +66,6 @@ typedef struct _MetaWaylandCompositorPrivate
G_DEFINE_TYPE_WITH_PRIVATE (MetaWaylandCompositor, meta_wayland_compositor,
G_TYPE_OBJECT)
MetaWaylandCompositor *
meta_wayland_compositor_get_default (void)
{
MetaBackend *backend;
MetaContext *context;
MetaWaylandCompositor *wayland_compositor;
backend = meta_get_backend ();
context = meta_backend_get_context (backend);
wayland_compositor = meta_context_get_wayland_compositor (context);
g_assert (wayland_compositor);
return wayland_compositor;
}
typedef struct
{
GSource source;

View File

@ -39,9 +39,6 @@ void meta_wayland_compositor_prepare_shutdown (MetaWaylandCom
void meta_wayland_compositor_init_display (MetaWaylandCompositor *compositor,
MetaDisplay *display);
META_EXPORT_TEST
MetaWaylandCompositor *meta_wayland_compositor_get_default (void);
void meta_wayland_compositor_update (MetaWaylandCompositor *compositor,
const ClutterEvent *event);