summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCam Cook <cam.cook@linux.com>2022-11-26 06:54:47 -0500
committerCam Cook <cam.cook@linux.com>2022-11-26 06:54:47 -0500
commitcb303895aac8af352fb5d252c7b855f4dba9f1f8 (patch)
treebcf384fbab7dafac102705b5f2bad21f707eb5e4
parent79a2e316359093e3c6afa507fe9e9913dcc536b3 (diff)
downloadgtk+-cb303895aac8af352fb5d252c7b855f4dba9f1f8.tar.gz
Various spelling mistakes (and one use of the wrong verb) across a few domains that show up in documentation.
| domain | current | suggestion | |--------|---------|------------| | [GtkBitset](https://gitlab.gnome.org/GNOME/gtk/-/blob/main/gtk/gtkbitset.c#L363) | "Value to add" | "Value to remove" | | [GtkEntry](https://gitlab.gnome.org/GNOME/gtk/-/blob/main/gtk/gtkentry.c#L3626) | "\`GtkEntry" | "\`GtkEntry\`" | | [GtkEntry](https://gitlab.gnome.org/GNOME/gtk/-/blob/main/gtk/gtkentry.c#L3566) | "will be applies" | "will be applied" | | [GtkEntry](https://gitlab.gnome.org/GNOME/gtk/-/blob/main/gtk/gtkentry.c#L2232) | "is is in" | "is in" | | [GtkInfoBar](https://gitlab.gnome.org/GNOME/gtk/-/blob/main/gtk/deprecated/gtkinfobar.c#L772) | "in the info bars’s action area" | "in the info bar’s action area | | [GtkLabel](https://gitlab.gnome.org/GNOME/gtk/-/blob/main/gtk/gtklabel.c#L3210) | "Gets the labels attribute list." | "Gets the label's attribute list."
-rw-r--r--gtk/deprecated/gtkinfobar.c2
-rw-r--r--gtk/gtkbitset.c2
-rw-r--r--gtk/gtkentry.c6
-rw-r--r--gtk/gtklabel.c2
4 files changed, 6 insertions, 6 deletions
diff --git a/gtk/deprecated/gtkinfobar.c b/gtk/deprecated/gtkinfobar.c
index cc2c0c1d73..6ca660ae6d 100644
--- a/gtk/deprecated/gtkinfobar.c
+++ b/gtk/deprecated/gtkinfobar.c
@@ -612,7 +612,7 @@ gtk_info_bar_remove_action_widget (GtkInfoBar *info_bar,
*
* Clicking the button will emit the [signal@Gtk.InfoBar::response]
* signal with the given response_id. The button is appended to the
- * end of the info bars's action area. The button widget is returned,
+ * end of the info bar's action area. The button widget is returned,
* but usually you don't need it.
*
* Returns: (transfer none) (type Gtk.Button): the `GtkButton` widget
diff --git a/gtk/gtkbitset.c b/gtk/gtkbitset.c
index ef5e835656..1ad8f54e82 100644
--- a/gtk/gtkbitset.c
+++ b/gtk/gtkbitset.c
@@ -360,7 +360,7 @@ gtk_bitset_add (GtkBitset *self,
/**
* gtk_bitset_remove:
* @self: a `GtkBitset`
- * @value: value to add
+ * @value: value to remove
*
* Removes @value from @self if it was part of it before.
*
diff --git a/gtk/gtkentry.c b/gtk/gtkentry.c
index 72609871f9..2cc428a1c5 100644
--- a/gtk/gtkentry.c
+++ b/gtk/gtkentry.c
@@ -2229,7 +2229,7 @@ gtk_entry_get_overwrite_mode (GtkEntry *entry)
* Sets the maximum allowed length of the contents of the widget.
*
* If the current contents are longer than the given length, then
- * they will be truncated to fit. The length is is in characters.
+ * they will be truncated to fit. The length is in characters.
*
* This is equivalent to getting @entry's `GtkEntryBuffer` and
* calling [method@Gtk.EntryBuffer.set_max_length] on it.
@@ -3563,7 +3563,7 @@ gtk_entry_get_input_hints (GtkEntry *entry)
*
* The attributes in the list are applied to the entry text.
*
- * Since the attributes will be applies to text that changes
+ * Since the attributes will be applied to text that changes
* as the user types, it makes most sense to use attributes
* with unlimited extent.
*/
@@ -3623,7 +3623,7 @@ gtk_entry_set_tabs (GtkEntry *entry,
* gtk_entry_get_tabs: (attributes org.gtk.Method.get_property=tabs)
* @entry: a `GtkEntry`
*
- * Gets the tabstops of the `GtkEntry.
+ * Gets the tabstops of the `GtkEntry`.
*
* See [method@Gtk.Entry.set_tabs].
*
diff --git a/gtk/gtklabel.c b/gtk/gtklabel.c
index 4ce00248da..6c76c85133 100644
--- a/gtk/gtklabel.c
+++ b/gtk/gtklabel.c
@@ -3207,7 +3207,7 @@ gtk_label_set_attributes (GtkLabel *self,
* gtk_label_get_attributes: (attributes org.gtk.Method.get_property=attributes)
* @self: a `GtkLabel`
*
- * Gets the labels attribute list.
+ * Gets the label's attribute list.
*
* This is the [struct@Pango.AttrList] that was set on the label using
* [method@Gtk.Label.set_attributes], if any. This function does not