mirror of
https://github.com/brl/mutter.git
synced 2024-12-26 12:52:14 +00:00
wayland: Remove meta_wayland_compositor_get_default()
Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/2718>
This commit is contained in:
parent
f8376a43d3
commit
82abee5ad7
@ -66,21 +66,6 @@ typedef struct _MetaWaylandCompositorPrivate
|
|||||||
G_DEFINE_TYPE_WITH_PRIVATE (MetaWaylandCompositor, meta_wayland_compositor,
|
G_DEFINE_TYPE_WITH_PRIVATE (MetaWaylandCompositor, meta_wayland_compositor,
|
||||||
G_TYPE_OBJECT)
|
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
|
typedef struct
|
||||||
{
|
{
|
||||||
GSource source;
|
GSource source;
|
||||||
|
@ -39,9 +39,6 @@ void meta_wayland_compositor_prepare_shutdown (MetaWaylandCom
|
|||||||
void meta_wayland_compositor_init_display (MetaWaylandCompositor *compositor,
|
void meta_wayland_compositor_init_display (MetaWaylandCompositor *compositor,
|
||||||
MetaDisplay *display);
|
MetaDisplay *display);
|
||||||
|
|
||||||
META_EXPORT_TEST
|
|
||||||
MetaWaylandCompositor *meta_wayland_compositor_get_default (void);
|
|
||||||
|
|
||||||
void meta_wayland_compositor_update (MetaWaylandCompositor *compositor,
|
void meta_wayland_compositor_update (MetaWaylandCompositor *compositor,
|
||||||
const ClutterEvent *event);
|
const ClutterEvent *event);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user