diff --git a/src/backends/meta-remote-access-controller.c b/src/backends/meta-remote-access-controller.c index a3b0c9fb0..e84e82edc 100644 --- a/src/backends/meta-remote-access-controller.c +++ b/src/backends/meta-remote-access-controller.c @@ -167,7 +167,7 @@ meta_remote_access_controller_inhibit_remote_access (MetaRemoteAccessController * @controller: a #MetaRemoteAccessController * * Uninhibits remote access sessions from being created and running. If this was - * the last inhibitation that was inhibited, new remote access sessions can now + * the last inhibition that was inhibited, new remote access sessions can now * be created. */ void diff --git a/src/wayland/meta-wayland-idle-inhibit.c b/src/wayland/meta-wayland-idle-inhibit.c index 49f09b8c2..03df1fd16 100644 --- a/src/wayland/meta-wayland-idle-inhibit.c +++ b/src/wayland/meta-wayland-idle-inhibit.c @@ -58,7 +58,7 @@ struct _MetaWaylandIdleInhibitor typedef struct _MetaWaylandIdleInhibitor MetaWaylandIdleInhibitor; -static void update_inhibitation (MetaWaylandIdleInhibitor *inhibitor); +static void update_inhibition (MetaWaylandIdleInhibitor *inhibitor); static void meta_wayland_inhibitor_free (MetaWaylandIdleInhibitor *inhibitor) @@ -97,7 +97,7 @@ inhibit_completed (GObject *source, g_variant_get (ret, "(u)", &inhibitor->cookie); inhibitor->state = IDLE_STATE_INHIBITED; - update_inhibitation (inhibitor); + update_inhibition (inhibitor); } static void @@ -123,11 +123,11 @@ uninhibit_completed (GObject *source, g_warn_if_fail (inhibitor->state == IDLE_STATE_UNINHIBITING); inhibitor->state = IDLE_STATE_UNINHIBITED; - update_inhibitation (inhibitor); + update_inhibition (inhibitor); } static void -update_inhibitation (MetaWaylandIdleInhibitor *inhibitor) +update_inhibition (MetaWaylandIdleInhibitor *inhibitor) { gboolean should_inhibit; @@ -168,7 +168,7 @@ update_inhibitation (MetaWaylandIdleInhibitor *inhibitor) break; case IDLE_STATE_INHIBITING: case IDLE_STATE_UNINHIBITING: - /* Update inhibitation after current asynchronous call completes. */ + /* Update inhibition after current asynchronous call completes. */ return; } @@ -203,7 +203,7 @@ is_obscured_changed (MetaSurfaceActor *actor, GParamSpec *pspec, MetaWaylandIdleInhibitor *inhibitor) { - update_inhibitation (inhibitor); + update_inhibition (inhibitor); } static void @@ -229,7 +229,7 @@ inhibitor_proxy_completed (GObject *source, inhibitor->session_proxy = proxy; inhibitor->state = IDLE_STATE_UNINHIBITED; - update_inhibitation (inhibitor); + update_inhibition (inhibitor); } static void @@ -257,7 +257,7 @@ idle_inhibitor_destructor (struct wl_resource *resource) break; } - update_inhibitation (inhibitor); + update_inhibition (inhibitor); } static void