summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorBjörn Daase <bjoern@daase.net>2020-08-21 14:41:13 +0200
committerBjörn Daase <bjoern@daase.net>2020-08-21 15:29:34 +0200
commit6315cd977c2541f6f76cc81dfd47fc228bb3aa5e (patch)
tree29556ecd7c9ed1ad2342b5dd2546270a70f857d0 /modules
parentbb8c818ba14ffde882f31359e09efd6e9215c593 (diff)
downloadgtk+-6315cd977c2541f6f76cc81dfd47fc228bb3aa5e.tar.gz
*: Fix spelling mistakes found by codespell
Diffstat (limited to 'modules')
-rw-r--r--modules/printbackends/gtkcupssecretsutils.c6
-rw-r--r--modules/printbackends/gtkcupsutils.h2
-rw-r--r--modules/printbackends/gtkprintbackendcups.c2
-rw-r--r--modules/printbackends/gtkprintbackendfile.c6
-rw-r--r--modules/printbackends/gtkprintbackendlpr.c6
5 files changed, 11 insertions, 11 deletions
diff --git a/modules/printbackends/gtkcupssecretsutils.c b/modules/printbackends/gtkcupssecretsutils.c
index f5e328fa78..47e707b114 100644
--- a/modules/printbackends/gtkcupssecretsutils.c
+++ b/modules/printbackends/gtkcupssecretsutils.c
@@ -231,7 +231,7 @@ fail:
required_len = g_strv_length (task_data->auth_info_required);
for (i = 0; i < required_len; i++)
{
- /* Not all fields of auth_info are neccessarily written so we can not
+ /* Not all fields of auth_info are necessarily written so we can not
use strfreev here */
g_free (auth_info[i]);
}
@@ -402,7 +402,7 @@ prompt_completed_cb (GDBusConnection *connection,
return;
}
- /* Prompt successfull, proceed to get or store secret */
+ /* Prompt successful, proceed to get or store secret */
switch (task_data->action)
{
case SECRETS_SERVICE_ACTION_STORE:
@@ -512,7 +512,7 @@ unlock_collection_cb (GObject *source_object,
break;
case SECRETS_SERVICE_ACTION_QUERY:
- /* Prompt successfull proceed to get secret */
+ /* Prompt successful proceed to get secret */
g_dbus_proxy_call (task_data->item_proxy,
"GetSecret",
g_variant_new ("(o)",
diff --git a/modules/printbackends/gtkcupsutils.h b/modules/printbackends/gtkcupsutils.h
index 5ed7b9aaa0..d14f9398d4 100644
--- a/modules/printbackends/gtkcupsutils.h
+++ b/modules/printbackends/gtkcupsutils.h
@@ -48,7 +48,7 @@ typedef enum
/**
* Direction we should be polling the http socket on.
- * We are either reading or writting at each state.
+ * We are either reading or writing at each state.
* This makes it easy for mainloops to connect to poll.
*/
typedef enum
diff --git a/modules/printbackends/gtkprintbackendcups.c b/modules/printbackends/gtkprintbackendcups.c
index c3ba93e639..982f1c0a6c 100644
--- a/modules/printbackends/gtkprintbackendcups.c
+++ b/modules/printbackends/gtkprintbackendcups.c
@@ -2902,7 +2902,7 @@ find_printer_by_uuid (GtkPrintBackendCups *backend,
}
/*
- * Create new GtkPrinter from informations included in TXT records.
+ * Create new GtkPrinter from information included in TXT records.
*/
static void
create_cups_printer_from_avahi_data (AvahiConnectionTestData *data)
diff --git a/modules/printbackends/gtkprintbackendfile.c b/modules/printbackends/gtkprintbackendfile.c
index cb93537884..94718820c4 100644
--- a/modules/printbackends/gtkprintbackendfile.c
+++ b/modules/printbackends/gtkprintbackendfile.c
@@ -283,7 +283,7 @@ _cairo_write (void *closure,
error = NULL;
GTK_NOTE (PRINTING,
- g_print ("FILE Backend: Writting %u byte chunk to temp file\n", length));
+ g_print ("FILE Backend: Writing %u byte chunk to temp file\n", length));
while (length > 0)
{
@@ -296,7 +296,7 @@ _cairo_write (void *closure,
if (error != NULL)
{
GTK_NOTE (PRINTING,
- g_print ("FILE Backend: Error writting to temp file, %s\n", error->message));
+ g_print ("FILE Backend: Error writing to temp file, %s\n", error->message));
g_error_free (error);
}
@@ -446,7 +446,7 @@ file_write (GIOChannel *source,
}
GTK_NOTE (PRINTING,
- g_print ("FILE Backend: Writting %"G_GSIZE_FORMAT" byte chunk to target file\n", bytes_read));
+ g_print ("FILE Backend: Writing %"G_GSIZE_FORMAT" byte chunk to target file\n", bytes_read));
return TRUE;
}
diff --git a/modules/printbackends/gtkprintbackendlpr.c b/modules/printbackends/gtkprintbackendlpr.c
index 8fba9b71fd..ac30d93231 100644
--- a/modules/printbackends/gtkprintbackendlpr.c
+++ b/modules/printbackends/gtkprintbackendlpr.c
@@ -156,7 +156,7 @@ _cairo_write (void *closure,
error = NULL;
GTK_NOTE (PRINTING,
- g_print ("LPR Backend: Writting %i byte chunk to temp file\n", length));
+ g_print ("LPR Backend: Writing %i byte chunk to temp file\n", length));
while (length > 0)
{
@@ -165,7 +165,7 @@ _cairo_write (void *closure,
if (error != NULL)
{
GTK_NOTE (PRINTING,
- g_print ("LPR Backend: Error writting to temp file, %s\n", error->message));
+ g_print ("LPR Backend: Error writing to temp file, %s\n", error->message));
g_error_free (error);
return CAIRO_STATUS_WRITE_ERROR;
@@ -284,7 +284,7 @@ lpr_write (GIOChannel *source,
}
GTK_NOTE (PRINTING,
- g_print ("LPR Backend: Writting %" G_GSIZE_FORMAT " byte chunk to lpr pipe\n", bytes_read));
+ g_print ("LPR Backend: Writing %" G_GSIZE_FORMAT " byte chunk to lpr pipe\n", bytes_read));
return TRUE;