[libhandy] Fix some typos
- From: Alexander Mikhaylenko <alexm src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libhandy] Fix some typos
- Date: Fri, 19 Jun 2020 11:10:10 +0000 (UTC)
commit e6d85db1ca7fce5196b49796a28f96803e305ffc
Author: Adrien Plazas <kekun plazas laposte net>
Date: Fri Jun 19 11:58:07 2020 +0200
Fix some typos
.gitlab/issue_templates/bug.md | 2 +-
doc/build-howto.xml | 2 +-
doc/hdy-migrating-0-0-to-1.xml | 2 +-
glade/glade-hdy-utils.h | 2 +-
src/hdy-clamp.c | 2 +-
src/hdy-combo-row.c | 10 +++++-----
src/hdy-deck.c | 2 +-
src/hdy-header-bar.c | 4 ++--
src/hdy-leaflet.c | 2 +-
src/hdy-main.c | 2 +-
src/hdy-preferences-window.c | 2 +-
src/hdy-squeezer.c | 2 +-
src/hdy-stackable-box.c | 2 +-
src/hdy-title-bar.c | 4 ++--
src/hdy-view-switcher-button.c | 2 +-
src/hdy-window.c | 2 +-
src/themes/_fallback-base.scss | 4 ++--
17 files changed, 24 insertions(+), 24 deletions(-)
---
diff --git a/.gitlab/issue_templates/bug.md b/.gitlab/issue_templates/bug.md
index 69b8185d..1daa09ec 100644
--- a/.gitlab/issue_templates/bug.md
+++ b/.gitlab/issue_templates/bug.md
@@ -61,7 +61,7 @@ $ dpkg -s libhandy-1-0
- [ ] Librem5 devkit
- [ ] other (please elaborate)
-# Releveant logfiles
+# Relevant logfiles
Please provide relevant logs with ``G_MESSAGES_DEBUG=all <yourappliation>``
diff --git a/doc/build-howto.xml b/doc/build-howto.xml
index 2e50dcb6..5e176dcd 100644
--- a/doc/build-howto.xml
+++ b/doc/build-howto.xml
@@ -156,7 +156,7 @@
a two pass compilation and hence your Vala compiler outputs C (Meson,
Automake, or using the <literal>--ccode</literal> Vala compiler option to
trigger that) then you must add <literal>-DHANDY_USE_UNSTABLE_API
- </literal> to your C compiler argments instead.
+ </literal> to your C compiler arguments instead.
</para>
</refsect2>
diff --git a/doc/hdy-migrating-0-0-to-1.xml b/doc/hdy-migrating-0-0-to-1.xml
index 66a22793..fc233f78 100644
--- a/doc/hdy-migrating-0-0-to-1.xml
+++ b/doc/hdy-migrating-0-0-to-1.xml
@@ -143,7 +143,7 @@
<para>
The “none” transition type has been removed. The default value for the
#HdyLeaflet:transition-type property has been changed to “over”.
- “over” is the recommanded transtion for typical #HdyLeaflet use-cases,
+ “over” is the recommended transition for typical #HdyLeaflet use-cases,
if this isn't what you want to use, be sure to adapt your code. If
transitions are undesired, set #HdyLeaflet:mode-transition-duration and
#HdyLeaflet:child-transition-duration properties to 0.
diff --git a/glade/glade-hdy-utils.h b/glade/glade-hdy-utils.h
index 7238acaa..9aeaf6d1 100644
--- a/glade/glade-hdy-utils.h
+++ b/glade/glade-hdy-utils.h
@@ -13,7 +13,7 @@
#define ONLY_THIS_GOES_IN_THAT_MSG _("Only objects of type %s can be added to objects of type %s.")
-/* Guess wether we are using a Glade version older than 3.36.
+/* Guess whether we are using a Glade version older than 3.36.
*
* If yes, redefine some symbols which got renamed.
*/
diff --git a/src/hdy-clamp.c b/src/hdy-clamp.c
index ab45efa5..9cb9f235 100644
--- a/src/hdy-clamp.c
+++ b/src/hdy-clamp.c
@@ -361,7 +361,7 @@ hdy_clamp_size_allocate (GtkWidget *widget,
}
if (!gtk_widget_get_has_window (widget)) {
- /* This allways center the child on the side of the orientation. */
+ /* This always center the child on the side of the orientation. */
if (self->orientation == GTK_ORIENTATION_HORIZONTAL) {
child_allocation.x = allocation->x + (allocation->width - child_allocation.width) / 2;
diff --git a/src/hdy-combo-row.c b/src/hdy-combo-row.c
index 96fcdc8a..4c951e41 100644
--- a/src/hdy-combo-row.c
+++ b/src/hdy-combo-row.c
@@ -504,8 +504,8 @@ hdy_combo_row_get_model (HdyComboRow *self)
* widgets for items to display in the list, or %NULL in case you also passed
* %NULL as @model
* @create_current_widget_func: (nullable) (scope call): a function that creates
- * widgets for items to display as the seleted item, or %NULL in case you also
- * passed %NULL as @model
+ * widgets for items to display as the selected item, or %NULL in case you
+ * also passed %NULL as @model
* @user_data: user data passed to @create_list_widget_func and
* @create_current_widget_func
* @user_data_free_func: function for freeing @user_data
@@ -587,8 +587,8 @@ hdy_combo_row_bind_model (HdyComboRow *self,
* items from @model. @self is updated whenever @model changes. If @model is
* %NULL, @self is left empty.
*
- * This is more conventient to use than hdy_combo_row_bind_model() if you want
- * to represent items of the model with names.
+ * This is more convenient to use than hdy_combo_row_bind_model() if you want to
+ * represent items of the model with names.
*
* Since: 0.0.6
*/
@@ -631,7 +631,7 @@ hdy_combo_row_bind_name_model (HdyComboRow *self,
* items from @model. @self is updated whenever @model changes. If @model is
* %NULL, @self is left empty.
*
- * This is more conventient to use than hdy_combo_row_bind_name_model() if you
+ * This is more convenient to use than hdy_combo_row_bind_name_model() if you
* want to represent values of an enumeration with names.
*
* See hdy_enum_value_row_name().
diff --git a/src/hdy-deck.c b/src/hdy-deck.c
index d45aa12a..00217b8d 100644
--- a/src/hdy-deck.c
+++ b/src/hdy-deck.c
@@ -366,7 +366,7 @@ hdy_deck_set_interpolate_size (HdyDeck *self,
* hdy_deck_get_interpolate_size:
* @self: a #HdyDeck
*
- * Returns wether the #HdyDeck is set up to interpolate between
+ * Returns whether the #HdyDeck is set up to interpolate between
* the sizes of children on page switch.
*
* Returns: %TRUE if child sizes are interpolated
diff --git a/src/hdy-header-bar.c b/src/hdy-header-bar.c
index 6d3438fa..899843a8 100644
--- a/src/hdy-header-bar.c
+++ b/src/hdy-header-bar.c
@@ -1975,7 +1975,7 @@ hdy_header_bar_draw (GtkWidget *widget,
context = gtk_widget_get_style_context (widget);
/* GtkWidget draws nothing by default so we have to render the background
- * explicitely for HdyHederBar to render the typical titlebar background.
+ * explicitly for HdyHederBar to render the typical titlebar background.
*/
gtk_render_background (context,
cr,
@@ -2860,7 +2860,7 @@ hdy_header_bar_get_transition_running (HdyHeaderBar *self)
* hdy_header_bar_get_interpolate_size:
* @self: A #HdyHeaderBar
*
- * Gets wether @self should interpolate its size on visible child change.
+ * Gets whether @self should interpolate its size on visible child change.
*
* See hdy_header_bar_set_interpolate_size().
*
diff --git a/src/hdy-leaflet.c b/src/hdy-leaflet.c
index cd098a36..e3db1eb8 100644
--- a/src/hdy-leaflet.c
+++ b/src/hdy-leaflet.c
@@ -409,7 +409,7 @@ hdy_leaflet_set_interpolate_size (HdyLeaflet *self,
* hdy_leaflet_get_interpolate_size:
* @self: a #HdyLeaflet
*
- * Returns wether the #HdyLeaflet is set up to interpolate between
+ * Returns whether the #HdyLeaflet is set up to interpolate between
* the sizes of children on page switch.
*
* Returns: %TRUE if child sizes are interpolated
diff --git a/src/hdy-main.c b/src/hdy-main.c
index 161f4dea..652683f5 100644
--- a/src/hdy-main.c
+++ b/src/hdy-main.c
@@ -16,7 +16,7 @@
* @Title: hdy-main
* @stability: Private
*
- * Before using the Handy libarary you should initialize it. This makes
+ * Before using the Handy library you should initialize it. This makes
* sure translations for the Handy library are set up properly.
*/
diff --git a/src/hdy-preferences-window.c b/src/hdy-preferences-window.c
index 84e4068a..9c2258a9 100644
--- a/src/hdy-preferences-window.c
+++ b/src/hdy-preferences-window.c
@@ -68,7 +68,7 @@ filter_search_results (HdyActionRow *row,
* class when filtering a row, leading to straight corners when the first row
* or last row are filtered out.
*
- * This works around it by explicitely toggling the row's visibility, while
+ * This works around it by explicitly toggling the row's visibility, while
* keeping GtkListBox's filtering logic.
*
* See https://gitlab.gnome.org/GNOME/libhandy/-/merge_requests/424
diff --git a/src/hdy-squeezer.c b/src/hdy-squeezer.c
index 73d335fe..5c40cacb 100644
--- a/src/hdy-squeezer.c
+++ b/src/hdy-squeezer.c
@@ -1339,7 +1339,7 @@ hdy_squeezer_get_transition_running (HdySqueezer *self)
* hdy_squeezer_get_interpolate_size:
* @self: A #HdySqueezer
*
- * Gets wether @self should interpolate its size on visible child change.
+ * Gets whether @self should interpolate its size on visible child change.
*
* See hdy_squeezer_set_interpolate_size().
*
diff --git a/src/hdy-stackable-box.c b/src/hdy-stackable-box.c
index b07364a8..0b9169dc 100644
--- a/src/hdy-stackable-box.c
+++ b/src/hdy-stackable-box.c
@@ -1197,7 +1197,7 @@ hdy_stackable_box_set_interpolate_size (HdyStackableBox *self,
* hdy_stackable_box_get_interpolate_size:
* @self: a #HdyStackableBox
*
- * Returns wether the #HdyStackableBox is set up to interpolate between
+ * Returns whether the #HdyStackableBox is set up to interpolate between
* the sizes of children on page switch.
*
* Returns: %TRUE if child sizes are interpolated
diff --git a/src/hdy-title-bar.c b/src/hdy-title-bar.c
index 1227b6af..ece90f4b 100644
--- a/src/hdy-title-bar.c
+++ b/src/hdy-title-bar.c
@@ -80,7 +80,7 @@ hdy_title_bar_set_selection_mode (HdyTitleBar *self,
* hdy_title_bar_get_selection_mode:
* @self: a #HdyTitleBar
*
- * Returns wether whether @self is in selection mode.
+ * Returns whether whether @self is in selection mode.
*
* Returns: %TRUE if the title bar is in selection mode
*/
@@ -153,7 +153,7 @@ hdy_title_bar_draw (GtkWidget *widget,
context = gtk_widget_get_style_context (widget);
/* GtkWidget draws nothing by default so we have to render the background
- * explicitely for HdyTitleBar to render the typical titlebar background.
+ * explicitly for HdyTitleBar to render the typical titlebar background.
*/
gtk_render_background (context,
cr,
diff --git a/src/hdy-view-switcher-button.c b/src/hdy-view-switcher-button.c
index 142d567a..9050949b 100644
--- a/src/hdy-view-switcher-button.c
+++ b/src/hdy-view-switcher-button.c
@@ -251,7 +251,7 @@ hdy_view_switcher_button_class_init (HdyViewSwitcherButtonClass *klass)
/* We probably should set the class's CSS name to "viewswitcherbutton"
* here, but it doesn't work because GtkCheckButton hardcodes it to "button"
- * on instanciation, and the functions required to override it are private.
+ * on instantiation, and the functions required to override it are private.
* In the meantime, we can use the "viewswitcher > button" CSS selector as
* a fairly safe fallback.
*/
diff --git a/src/hdy-window.c b/src/hdy-window.c
index 5165b552..1a868d78 100644
--- a/src/hdy-window.c
+++ b/src/hdy-window.c
@@ -48,7 +48,7 @@
* headerbar inside a #GtkRevealer, and to show titlebar above content by
* putting it into a #GtkOverlay instead of #GtkBox.
*
- * if the window has a #GtkGLArea, it may bring a slight performance regresssion
+ * if the window has a #GtkGLArea, it may bring a slight performance regression
* when the window is not fullscreen, tiled or maximized.
*
* Using gtk_window_get_titlebar() and gtk_window_set_titlebar() is not
diff --git a/src/themes/_fallback-base.scss b/src/themes/_fallback-base.scss
index 4e26bbd5..a120e89c 100644
--- a/src/themes/_fallback-base.scss
+++ b/src/themes/_fallback-base.scss
@@ -100,8 +100,8 @@ avatar {
font-weight: bold;
// The list of colors to generate avatars.
- // Each avatar color is rapresented by a font color, a gradient start color and a gradient stop color.
- // There are 8 differnt colors for avtars in the list if you change the number of them you
+ // Each avatar color is represented by a font color, a gradient start color and a gradient stop color.
+ // There are 8 different colors for avtars in the list if you change the number of them you
// need to update the NUMBER_OF_COLORS in src/hdy-avatar.c.
// The 2D list has this form: ((font-color, gradient-top-color, gradient-bottom-color)).
$avatarcolorlist: (
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]