tree-wide: Fix spelling of "inhibition"
Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/3444>
This commit is contained in:
parent
200fc76f14
commit
50980f995b
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user