From ad7e654a8b26f160a2cd96b950f5b3b38c91f4dd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jonas=20=C3=85dahl?= Date: Tue, 23 Feb 2016 22:42:19 +0800 Subject: [PATCH] MetaWaylandPointerConstraint: Don't expose internal function It was exposed via meta-wayland-pointer-constraints.h for no apparent reason. --- src/wayland/meta-wayland-pointer-constraints.c | 2 +- src/wayland/meta-wayland-pointer-constraints.h | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) 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);