backend: Remove unused barrier vfunc

It was added in error, and has been unused since its introduction. Lets
correct the error.

Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/2604>
This commit is contained in:
Jonas Ådahl 2022-09-01 23:00:31 +02:00 committed by Marge Bot
parent 3e22eb35ed
commit 73bb333000
2 changed files with 0 additions and 14 deletions

View File

@ -107,9 +107,6 @@ struct _MetaBackendClass
void (* update_screen_size) (MetaBackend *backend, int width, int height); void (* update_screen_size) (MetaBackend *backend, int width, int height);
void (* select_stage_events) (MetaBackend *backend); void (* select_stage_events) (MetaBackend *backend);
MetaBarrierImpl * (* create_barrier_impl) (MetaBackend *backend,
MetaBarrier *barrier);
void (* set_pointer_constraint) (MetaBackend *backend, void (* set_pointer_constraint) (MetaBackend *backend,
MetaPointerConstraint *constraint); MetaPointerConstraint *constraint);
@ -171,9 +168,6 @@ xkb_layout_index_t meta_backend_get_keymap_layout_group (MetaBackend *backend);
gboolean meta_backend_is_lid_closed (MetaBackend *backend); gboolean meta_backend_is_lid_closed (MetaBackend *backend);
MetaBarrierImpl * meta_backend_create_barrier_impl (MetaBackend *backend,
MetaBarrier *barrier);
MetaPointerConstraint * meta_backend_get_client_pointer_constraint (MetaBackend *backend); MetaPointerConstraint * meta_backend_get_client_pointer_constraint (MetaBackend *backend);
void meta_backend_set_client_pointer_constraint (MetaBackend *backend, void meta_backend_set_client_pointer_constraint (MetaBackend *backend,
MetaPointerConstraint *constraint); MetaPointerConstraint *constraint);

View File

@ -1589,14 +1589,6 @@ meta_backend_set_client_pointer_constraint (MetaBackend *backend,
g_set_object (&priv->client_pointer_constraint, constraint); g_set_object (&priv->client_pointer_constraint, constraint);
} }
MetaBarrierImpl *
meta_backend_create_barrier_impl (MetaBackend *backend,
MetaBarrier *barrier)
{
return META_BACKEND_GET_CLASS (backend)->create_barrier_impl (backend,
barrier);
}
ClutterBackend * ClutterBackend *
meta_backend_get_clutter_backend (MetaBackend *backend) meta_backend_get_clutter_backend (MetaBackend *backend)
{ {