From 94b0b125a31cb26adcf66bc1d2b58e8b31577015 Mon Sep 17 00:00:00 2001 From: Fabio Fantoni Date: Fri, 16 Feb 2024 16:40:48 +0100 Subject: [PATCH] fix some typo spotted with codespell (#237) --- debian/changelog | 4 ++-- libcinnamon-desktop/edid.h | 2 +- libcinnamon-desktop/gnome-bg-crossfade.c | 2 +- libcinnamon-desktop/gnome-bg.c | 4 ++-- libcinnamon-desktop/gnome-desktop-thumbnail.c | 2 +- libcinnamon-desktop/gnome-rr-labeler.c | 2 +- libcinnamon-desktop/gnome-rr.c | 6 +++--- libcinnamon-desktop/gnome-rr.h | 2 +- libcinnamon-desktop/gnome-wall-clock.c | 2 +- libcinnamon-desktop/gnome-xkb-info.c | 2 +- libcvc/gvc-channel-map.c | 4 ++-- libcvc/gvc-mixer-control.c | 4 ++-- schemas/org.cinnamon.desktop.privacy.gschema.xml.in | 2 +- 13 files changed, 19 insertions(+), 19 deletions(-) diff --git a/debian/changelog b/debian/changelog index 9c097907..2f7a8f44 100644 --- a/debian/changelog +++ b/debian/changelog @@ -167,7 +167,7 @@ cinnamon-desktop (4.6.4) ulyana; urgency=medium cinnamon-desktop (4.6.3) ulyana; urgency=medium [ Michael Webster ] - * gnome-rr-config.c: Fix inadvertant change. + * gnome-rr-config.c: Fix inadvertent change. -- Clement Lefebvre Fri, 10 Jul 2020 15:36:15 +0100 @@ -447,7 +447,7 @@ cinnamon-desktop (3.2.0) serena; urgency=medium * gnome-desktop-utils: Add a pam password check function * Add /etc/pam.d/cinnamon-desktop to build and packaging to allow authentication to work (debian-based uses debian/cinnamon-desktop.pam rather than the one in /data. * Add flag image files to be shared with cinnamon, cinnamon-screensaver. - * screensaver schema: Add flag, keyboard layout, and clock visiblity keys. + * screensaver schema: Add flag, keyboard layout, and clock visibility keys. [ Clement Lefebvre ] * Fixed build diff --git a/libcinnamon-desktop/edid.h b/libcinnamon-desktop/edid.h index 234d966a..253937a9 100644 --- a/libcinnamon-desktop/edid.h +++ b/libcinnamon-desktop/edid.h @@ -149,7 +149,7 @@ struct MonitorInfo int width_mm; /* -1 if not specified */ int height_mm; /* -1 if not specified */ - double aspect_ratio; /* -1.0 if not specififed */ + double aspect_ratio; /* -1.0 if not specified */ double gamma; /* -1.0 if not specified */ diff --git a/libcinnamon-desktop/gnome-bg-crossfade.c b/libcinnamon-desktop/gnome-bg-crossfade.c index dfe85969..8961a4ab 100644 --- a/libcinnamon-desktop/gnome-bg-crossfade.c +++ b/libcinnamon-desktop/gnome-bg-crossfade.c @@ -181,7 +181,7 @@ gnome_bg_crossfade_class_init (GnomeBGCrossfadeClass *fade_class) /** * GnomeBGCrossfade::finished: * @fade: the #GnomeBGCrossfade that received the signal - * @window: the #GdkWindow the crossfade happend on. + * @window: the #GdkWindow the crossfade happened on. * * When a crossfade finishes, @window will have a copy * of the end surface as its background, and this signal will diff --git a/libcinnamon-desktop/gnome-bg.c b/libcinnamon-desktop/gnome-bg.c index c3db2787..8ebea3ad 100644 --- a/libcinnamon-desktop/gnome-bg.c +++ b/libcinnamon-desktop/gnome-bg.c @@ -2246,13 +2246,13 @@ get_slide_timeout (Slide *slide) /* In the worst case we will do a fade from 0 to 256, which mean * we will never use more than 255 steps, however in most cases - * the first and last value are similar and users can't percieve + * the first and last value are similar and users can't perceive * changes in pixel values as small as 1/255th. So, lets not waste * CPU cycles on transitioning to often. * * 64 steps is enough for each step to be just detectable in a 16bit * color mode in the worst case, so we'll use this as an approximation - * of whats detectable. + * of what's detectable. */ timeout = slide->duration / 64.0; } diff --git a/libcinnamon-desktop/gnome-desktop-thumbnail.c b/libcinnamon-desktop/gnome-desktop-thumbnail.c index 6a3fa7f3..8c2e8396 100644 --- a/libcinnamon-desktop/gnome-desktop-thumbnail.c +++ b/libcinnamon-desktop/gnome-desktop-thumbnail.c @@ -1882,7 +1882,7 @@ gnome_desktop_thumbnail_cache_fix_permissions (void) /** * gnome_desktop_cache_check_permissions: * @factory: (allow-none): an optional GnomeDesktopThumbnailFactory - * @quick: if TRUE, only do a quick check of directory ownersip + * @quick: if TRUE, only do a quick check of directory ownership * This is more serious than thumbnail ownership issues, and is faster. * * Returns whether there are any ownership issues with the thumbnail diff --git a/libcinnamon-desktop/gnome-rr-labeler.c b/libcinnamon-desktop/gnome-rr-labeler.c index 83f0c669..1ba125b4 100644 --- a/libcinnamon-desktop/gnome-rr-labeler.c +++ b/libcinnamon-desktop/gnome-rr-labeler.c @@ -542,7 +542,7 @@ gnome_rr_labeler_show (GnomeRRLabeler *labeler) * gnome_rr_labeler_hide: * @labeler: A #GnomeRRLabeler * - * Hide ouput labels. + * Hide output labels. */ void gnome_rr_labeler_hide (GnomeRRLabeler *labeler) diff --git a/libcinnamon-desktop/gnome-rr.c b/libcinnamon-desktop/gnome-rr.c index c8939275..af33ef0e 100644 --- a/libcinnamon-desktop/gnome-rr.c +++ b/libcinnamon-desktop/gnome-rr.c @@ -706,7 +706,7 @@ screen_on_event (GdkXEvent *xevent, * events. We only care about "the screens changed in some way or another" * for now. * - * If we ever run into a situtation that could benefit from processing more + * If we ever run into a situation that could benefit from processing more * detailed events, we can enable this code again. * * Note that the X server sends RRScreenChangeNotify in conjunction with the @@ -1764,7 +1764,7 @@ gnome_rr_output_get_ids_from_edid (GnomeRROutput *output, /** * gnome_rr_output_get_backlight_min: * - * Returns: The mimimum backlight value, or -1 if not supported + * Returns: The minimum backlight value, or -1 if not supported */ gint gnome_rr_output_get_backlight_min (GnomeRROutput *output) @@ -2509,7 +2509,7 @@ crtc_initialize (GnomeRRCrtc *crtc, if (!info) { - /* FIXME: We need to reaquire the screen resources */ + /* FIXME: We need to reacquire the screen resources */ /* FIXME: can we actually catch BadRRCrtc, and does it make sense to emit that? */ /* Translators: CRTC is a CRT Controller (this is X terminology). diff --git a/libcinnamon-desktop/gnome-rr.h b/libcinnamon-desktop/gnome-rr.h index b3c73b85..8bfeb21a 100644 --- a/libcinnamon-desktop/gnome-rr.h +++ b/libcinnamon-desktop/gnome-rr.h @@ -161,7 +161,7 @@ guint32 gnome_rr_output_get_id (GnomeRROutput *outpu const char * gnome_rr_output_get_name (GnomeRROutput *output); gboolean gnome_rr_output_is_connected (GnomeRROutput *output); int gnome_rr_output_get_size_inches (GnomeRROutput *output); -int gnome_rr_output_get_width_mm (GnomeRROutput *outout); +int gnome_rr_output_get_width_mm (GnomeRROutput *output); int gnome_rr_output_get_height_mm (GnomeRROutput *output); const guint8 * gnome_rr_output_get_edid_data (GnomeRROutput *output, gsize *size); diff --git a/libcinnamon-desktop/gnome-wall-clock.c b/libcinnamon-desktop/gnome-wall-clock.c index 88cad484..4b88e6d0 100644 --- a/libcinnamon-desktop/gnome-wall-clock.c +++ b/libcinnamon-desktop/gnome-wall-clock.c @@ -68,7 +68,7 @@ G_DEFINE_TYPE_WITH_PRIVATE (GnomeWallClock, gnome_wall_clock, G_TYPE_OBJECT); * Currently used by cinnamon-screensaver default clock */ #define DATE_ONLY (_("%A, %B %e")) -/* Defaut date/time format when show-date, show-seconds, use-24h are set */ +/* Default date/time format when show-date, show-seconds, use-24h are set */ #define WITH_DATE_24H_SECONDS (_("%A %B %e, %R:%S")) /* Default date/time format when show-date, show-seconds are set */ diff --git a/libcinnamon-desktop/gnome-xkb-info.c b/libcinnamon-desktop/gnome-xkb-info.c index 95686a12..09de962c 100644 --- a/libcinnamon-desktop/gnome-xkb-info.c +++ b/libcinnamon-desktop/gnome-xkb-info.c @@ -894,7 +894,7 @@ gnome_xkb_info_get_layout_info (GnomeXkbInfo *self, * @self: a #GnomeXkbInfo * @language: an ISO 639 code * @id: (out) (allow-none) (transfer none): location to store the - * layout's indentifier, or %NULL + * layout's identifier, or %NULL * @display_name: (out) (allow-none) (transfer none): location to store * the layout's display name, or %NULL * @short_name: (out) (allow-none) (transfer none): location to store diff --git a/libcvc/gvc-channel-map.c b/libcvc/gvc-channel-map.c index 436738f6..4fc19507 100644 --- a/libcvc/gvc-channel-map.c +++ b/libcvc/gvc-channel-map.c @@ -178,7 +178,7 @@ gvc_channel_map_get_lfe (GvcChannelMap *map) return 0; if (gvc_channel_map_has_lfe (map)) - // there is a funtion for this in pa 7.1, but it is not used here for backward + // there is a function for this in pa 7.1, but it is not used here for backward // compatibility return (gfloat) pa_cvolume_get_position (&map->priv->pa_volume, &map->priv->pa_map, PA_CHANNEL_POSITION_LFE); else @@ -198,7 +198,7 @@ gvc_channel_map_set_lfe (GvcChannelMap *map, cv = *gvc_channel_map_get_cvolume (map); - // there is a funtion for this in pa 7.1, but it is not used here for backward + // there is a function for this in pa 7.1, but it is not used here for backward // compatibility pa_cvolume_set_position (&cv, &map->priv->pa_map, PA_CHANNEL_POSITION_LFE, value); diff --git a/libcvc/gvc-mixer-control.c b/libcvc/gvc-mixer-control.c index 06d3b274..b3854618 100644 --- a/libcvc/gvc-mixer-control.c +++ b/libcvc/gvc-mixer-control.c @@ -530,7 +530,7 @@ gvc_mixer_control_get_stream_from_device (GvcMixerControl *control, * @profile: (allow-none): Can be %NULL if any profile present on this port is okay * * Returns: This method will attempt to swap the profile on the card of - * the device with given profile name. If successfull it will set the + * the device with given profile name. If successful it will set the * preferred profile on that device so as we know the next time the user * moves to that device it should have this profile active. */ @@ -1554,7 +1554,7 @@ update_sink (GvcMixerControl *control, gvc_mixer_stream_set_base_volume (stream, (guint32) info->base_volume); gvc_mixer_stream_set_state (stream, translate_pa_state (info->state)); - /* Messy I know but to set the port everytime regardless of whether it has changed will cost us a + /* Messy I know but to set the port every time regardless of whether it has changed will cost us a * port change notify signal which causes the frontend to resync. * Only update the UI when something has changed. */ if (info->active_port != NULL) { diff --git a/schemas/org.cinnamon.desktop.privacy.gschema.xml.in b/schemas/org.cinnamon.desktop.privacy.gschema.xml.in index fd6a08be..5703f333 100644 --- a/schemas/org.cinnamon.desktop.privacy.gschema.xml.in +++ b/schemas/org.cinnamon.desktop.privacy.gschema.xml.in @@ -24,7 +24,7 @@ 7 Number of days to remember recently used files for - Recently used files will be remembered for this many days. If set to 0, recent files will not be remembered; if set to -1, they will be retained indefinitively. + Recently used files will be remembered for this many days. If set to 0, recent files will not be remembered; if set to -1, they will be retained indefinitely. false