talkatu/talkatu

Fix some Talkatu typos

2021-10-10, Elliott Sales de Andrade
e778e5866097
Parents cdb6fdb07bc4
Children 9720b1c8fa3b
Fix some Talkatu typos

Ran `codespell -w`, but ignored a few things.

Reviewed at https://reviews.imfreedom.org/r/1013/
--- a/talkatu/talkatuactiongroup.c Sat Oct 09 23:34:45 2021 -0500
+++ b/talkatu/talkatuactiongroup.c Sun Oct 10 00:28:54 2021 -0500
@@ -33,7 +33,7 @@
* @Title: Talkatu Actions
* @Short_description: GAction Helpers
*
- * A lot of Talkatu's user interation is handled by #GAction's. These
+ * A lot of Talkatu's user interaction is handled by #GAction's. These
* functions help make that easier.
*/
@@ -321,7 +321,7 @@
gtk_text_buffer_remove_tag_by_name(priv->buffer, TALKATU_TAG_H6, &start, &end);
gtk_text_buffer_remove_tag_by_name(priv->buffer, TALKATU_TAG_ANCHOR, &start, &end);
- /* now run through all the actions and deactive any that are active by
+ /* Now run through all the actions and deactivate any that are active by
* activating them.
*/
actions = g_action_group_list_actions(G_ACTION_GROUP(ag));
--- a/talkatu/talkatubuffer.c Sat Oct 09 23:34:45 2021 -0500
+++ b/talkatu/talkatubuffer.c Sun Oct 10 00:28:54 2021 -0500
@@ -454,7 +454,7 @@
* talkatu_buffer_get_style:
* @buffer: A #TalkatuBuffer instance.
*
- * Get's format style of @buffer.
+ * Gets format style of @buffer.
*
* Returns: The format style of @buffer.
*/
@@ -539,7 +539,7 @@
* @first_tag_name: The name of the first tag to apply to @new_text.
* @...: Additional tags to apply to @new_text.
*
- * Similiar to #talkatu_buffer_insert_markup but allows you to specify
+ * Similar to #talkatu_buffer_insert_markup but allows you to specify
* tags to apply to the newly inserted text.
*/
void
--- a/talkatu/talkatuinput.c Sat Oct 09 23:34:45 2021 -0500
+++ b/talkatu/talkatuinput.c Sun Oct 10 00:28:54 2021 -0500
@@ -53,7 +53,7 @@
*
* It implements #TalkatuMessage which means it can be written directly to
* #TalkatuHistory with talkatu_history_write_message(). That also means that
- * it can handle attachments. Currently this is only supported programatically.
+ * it can handle attachments. Currently this is only supported programmatically.
*
* It provides keybinds for pasting images as well as emitting a signal when the
* user has pressed a developer defined keybinding to "send" the message.
--- a/talkatu/talkatumarkdownbuffer.c Sat Oct 09 23:34:45 2021 -0500
+++ b/talkatu/talkatumarkdownbuffer.c Sun Oct 10 00:28:54 2021 -0500
@@ -326,7 +326,7 @@
* talkatu_markdown_buffer_insert_markdown:
* @buffer: The #TalkatuMarkdownBuffer instance.
* @iter: The #GtkTextIter where the text should be inserted.
- * @text: The UTF-8 Markdown text that should be insterted.
+ * @text: The UTF-8 Markdown text that should be inserted.
* @len: The length of @text or -1.
*
* Inserts and renders @text into @buffer.
--- a/talkatu/talkatumenutoolbutton.c Sat Oct 09 23:34:45 2021 -0500
+++ b/talkatu/talkatumenutoolbutton.c Sun Oct 10 00:28:54 2021 -0500
@@ -153,7 +153,7 @@
* talkatu_menu_tool_button_get_menu:
* @menu_button: The #TalkatuMenuToolButton instance.
*
- * Get's the menu that this tool button will display on click or #NULL if no
+ * Gets the menu that this tool button will display on click or #NULL if no
* menu is set.
*
* Returns: (transfer full): The menu.
--- a/talkatu/talkatuview.c Sat Oct 09 23:34:45 2021 -0500
+++ b/talkatu/talkatuview.c Sun Oct 10 00:28:54 2021 -0500
@@ -271,7 +271,7 @@
return GTK_WIDGET_CLASS(talkatu_view_parent_class)->query_tooltip(widget, x, y, keyboard, tooltip);
}
- /* convert the window coordinates to match whats visible */
+ /* convert the window coordinates to match what's visible */
gtk_text_view_window_to_buffer_coords(
GTK_TEXT_VIEW(widget),
GTK_TEXT_WINDOW_TEXT,