Skip to content

Commit

Permalink
fix some typo spotted with codespell (#237)
Browse files Browse the repository at this point in the history
  • Loading branch information
Fantu authored Feb 16, 2024
1 parent 96ae2a5 commit 94b0b12
Show file tree
Hide file tree
Showing 13 changed files with 19 additions and 19 deletions.
4 changes: 2 additions & 2 deletions debian/changelog
Original file line number Diff line number Diff line change
Expand Up @@ -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 <[email protected]> Fri, 10 Jul 2020 15:36:15 +0100

Expand Down Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion libcinnamon-desktop/edid.h
Original file line number Diff line number Diff line change
Expand Up @@ -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 */

Expand Down
2 changes: 1 addition & 1 deletion libcinnamon-desktop/gnome-bg-crossfade.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions libcinnamon-desktop/gnome-bg.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down
2 changes: 1 addition & 1 deletion libcinnamon-desktop/gnome-desktop-thumbnail.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion libcinnamon-desktop/gnome-rr-labeler.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
6 changes: 3 additions & 3 deletions libcinnamon-desktop/gnome-rr.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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)
Expand Down Expand Up @@ -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).
Expand Down
2 changes: 1 addition & 1 deletion libcinnamon-desktop/gnome-rr.h
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
2 changes: 1 addition & 1 deletion libcinnamon-desktop/gnome-wall-clock.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 */
Expand Down
2 changes: 1 addition & 1 deletion libcinnamon-desktop/gnome-xkb-info.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions libcvc/gvc-channel-map.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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);

Expand Down
4 changes: 2 additions & 2 deletions libcvc/gvc-mixer-control.c
Original file line number Diff line number Diff line change
Expand Up @@ -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.
*/
Expand Down Expand Up @@ -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) {
Expand Down
2 changes: 1 addition & 1 deletion schemas/org.cinnamon.desktop.privacy.gschema.xml.in
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
<key name="recent-files-max-age" type="i">
<default>7</default>
<summary>Number of days to remember recently used files for</summary>
<description>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.</description>
<description>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.</description>
</key>
<key name="disable-microphone" type="b">
<default>false</default>
Expand Down

0 comments on commit 94b0b12

Please sign in to comment.