diff --git a/src/wayland/meta-wayland-pointer-constraints.c b/src/wayland/meta-wayland-pointer-constraints.c index 5c69e70e8..5dc0476d9 100644 --- a/src/wayland/meta-wayland-pointer-constraints.c +++ b/src/wayland/meta-wayland-pointer-constraints.c @@ -245,7 +245,7 @@ is_within_constraint_region (MetaWaylandPointerConstraint *constraint, return is_within; } -void +static void meta_wayland_pointer_constraint_maybe_enable (MetaWaylandPointerConstraint *constraint) { MetaWaylandSeat *seat = constraint->seat; diff --git a/src/wayland/meta-wayland-pointer-constraints.h b/src/wayland/meta-wayland-pointer-constraints.h index dce5e2899..4ed56f8bd 100644 --- a/src/wayland/meta-wayland-pointer-constraints.h +++ b/src/wayland/meta-wayland-pointer-constraints.h @@ -38,8 +38,6 @@ G_DECLARE_FINAL_TYPE (MetaWaylandPointerConstraint, void meta_wayland_pointer_constraints_init (MetaWaylandCompositor *compositor); -void meta_wayland_pointer_constraint_maybe_enable (MetaWaylandPointerConstraint *constraint); - void meta_wayland_pointer_constraint_destroy (MetaWaylandPointerConstraint *constraint); MetaWaylandSeat * meta_wayland_pointer_constraint_get_seat (MetaWaylandPointerConstraint *constraint);