mirror of
https://github.com/brl/mutter.git
synced 2024-12-27 05:12:15 +00:00
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
|
* @controller: a #MetaRemoteAccessController
|
||||||
*
|
*
|
||||||
* Uninhibits remote access sessions from being created and running. If this was
|
* 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.
|
* be created.
|
||||||
*/
|
*/
|
||||||
void
|
void
|
||||||
|
@ -58,7 +58,7 @@ struct _MetaWaylandIdleInhibitor
|
|||||||
|
|
||||||
typedef struct _MetaWaylandIdleInhibitor MetaWaylandIdleInhibitor;
|
typedef struct _MetaWaylandIdleInhibitor MetaWaylandIdleInhibitor;
|
||||||
|
|
||||||
static void update_inhibitation (MetaWaylandIdleInhibitor *inhibitor);
|
static void update_inhibition (MetaWaylandIdleInhibitor *inhibitor);
|
||||||
|
|
||||||
static void
|
static void
|
||||||
meta_wayland_inhibitor_free (MetaWaylandIdleInhibitor *inhibitor)
|
meta_wayland_inhibitor_free (MetaWaylandIdleInhibitor *inhibitor)
|
||||||
@ -97,7 +97,7 @@ inhibit_completed (GObject *source,
|
|||||||
g_variant_get (ret, "(u)", &inhibitor->cookie);
|
g_variant_get (ret, "(u)", &inhibitor->cookie);
|
||||||
inhibitor->state = IDLE_STATE_INHIBITED;
|
inhibitor->state = IDLE_STATE_INHIBITED;
|
||||||
|
|
||||||
update_inhibitation (inhibitor);
|
update_inhibition (inhibitor);
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
@ -123,11 +123,11 @@ uninhibit_completed (GObject *source,
|
|||||||
g_warn_if_fail (inhibitor->state == IDLE_STATE_UNINHIBITING);
|
g_warn_if_fail (inhibitor->state == IDLE_STATE_UNINHIBITING);
|
||||||
inhibitor->state = IDLE_STATE_UNINHIBITED;
|
inhibitor->state = IDLE_STATE_UNINHIBITED;
|
||||||
|
|
||||||
update_inhibitation (inhibitor);
|
update_inhibition (inhibitor);
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
update_inhibitation (MetaWaylandIdleInhibitor *inhibitor)
|
update_inhibition (MetaWaylandIdleInhibitor *inhibitor)
|
||||||
{
|
{
|
||||||
gboolean should_inhibit;
|
gboolean should_inhibit;
|
||||||
|
|
||||||
@ -168,7 +168,7 @@ update_inhibitation (MetaWaylandIdleInhibitor *inhibitor)
|
|||||||
break;
|
break;
|
||||||
case IDLE_STATE_INHIBITING:
|
case IDLE_STATE_INHIBITING:
|
||||||
case IDLE_STATE_UNINHIBITING:
|
case IDLE_STATE_UNINHIBITING:
|
||||||
/* Update inhibitation after current asynchronous call completes. */
|
/* Update inhibition after current asynchronous call completes. */
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -203,7 +203,7 @@ is_obscured_changed (MetaSurfaceActor *actor,
|
|||||||
GParamSpec *pspec,
|
GParamSpec *pspec,
|
||||||
MetaWaylandIdleInhibitor *inhibitor)
|
MetaWaylandIdleInhibitor *inhibitor)
|
||||||
{
|
{
|
||||||
update_inhibitation (inhibitor);
|
update_inhibition (inhibitor);
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
@ -229,7 +229,7 @@ inhibitor_proxy_completed (GObject *source,
|
|||||||
inhibitor->session_proxy = proxy;
|
inhibitor->session_proxy = proxy;
|
||||||
inhibitor->state = IDLE_STATE_UNINHIBITED;
|
inhibitor->state = IDLE_STATE_UNINHIBITED;
|
||||||
|
|
||||||
update_inhibitation (inhibitor);
|
update_inhibition (inhibitor);
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
@ -257,7 +257,7 @@ idle_inhibitor_destructor (struct wl_resource *resource)
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
update_inhibitation (inhibitor);
|
update_inhibition (inhibitor);
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
|
Loading…
Reference in New Issue
Block a user