From 214c991d5b3a10368684142a706bc8bc826342b3 Mon Sep 17 00:00:00 2001 From: Simon McVittie Date: Thu, 5 Apr 2018 11:19:47 +0100 Subject: [PATCH 1/8] Spelling: fix "every time" Detected by Debian's Lintian tool. Also fix the spelling of "linking" in one error message. Signed-off-by: Simon McVittie --- configure.ac | 2 +- docs/reference/gobject/glib-mkenums.xml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/configure.ac b/configure.ac index fd748a4dc..c72d8ef15 100644 --- a/configure.ac +++ b/configure.ac @@ -1853,7 +1853,7 @@ FUNC_NO_LOCALTIME_R="the 'g_date_set_time' function will not be MT-safe AIX_COMPILE_INFO="AIX's C compiler needs to be called by a different name, when linking threaded applications. As GLib cannot do that - automatically, you will get an linkg error everytime you are + automatically, you will get an linking error every time you are not using the right compiler. In that case you have to relink with the right compiler. Ususally just '_r' is appended to the compiler name." diff --git a/docs/reference/gobject/glib-mkenums.xml b/docs/reference/gobject/glib-mkenums.xml index a59cacf43..7e0eabd27 100644 --- a/docs/reference/gobject/glib-mkenums.xml +++ b/docs/reference/gobject/glib-mkenums.xml @@ -253,7 +253,7 @@ will be appended to the template's file-tail section. TEXT -Emits TEXT everytime an enum is encountered +Emits TEXT every time an enum is encountered in the input files. From 7a903bd0445457f50cc7f4720d11516cb87a00c6 Mon Sep 17 00:00:00 2001 From: Simon McVittie Date: Thu, 5 Apr 2018 11:20:25 +0100 Subject: [PATCH 2/8] Spelling: fix spelling of specify Detected by Debian's Lintian tool. Signed-off-by: Simon McVittie --- gobject/gobject-query.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gobject/gobject-query.c b/gobject/gobject-query.c index 2992567dd..fd45fba82 100644 --- a/gobject/gobject-query.c +++ b/gobject/gobject-query.c @@ -99,7 +99,7 @@ static gint help (gchar *arg) { g_fprintf (stderr, "usage: gobject-query [-r ] [-{i|b} \"\"] [-s #] [-{h|x|y}]\n"); - g_fprintf (stderr, " -r specifiy root type\n"); + g_fprintf (stderr, " -r specify root type\n"); g_fprintf (stderr, " -n don't descend type tree\n"); g_fprintf (stderr, " -h guess what ;)\n"); g_fprintf (stderr, " -b specify indent string\n"); From 59bede934c83032405e1c3b2523efc6af44de0c4 Mon Sep 17 00:00:00 2001 From: Simon McVittie Date: Thu, 5 Apr 2018 11:21:44 +0100 Subject: [PATCH 3/8] Spelling: Fix a common en_FR spelling of "information" Detected by Debian's Lintian tool. Signed-off-by: Simon McVittie --- glib/gbookmarkfile.c | 4 ++-- glib/gtester.c | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/glib/gbookmarkfile.c b/glib/gbookmarkfile.c index 31706ba12..ffd7ea0b1 100644 --- a/glib/gbookmarkfile.c +++ b/glib/gbookmarkfile.c @@ -3360,8 +3360,8 @@ expand_exec_line (const gchar *exec_fmt, * @stamp: (out) (optional): return location for the last registration time, or %NULL * @error: return location for a #GError, or %NULL * - * Gets the registration informations of @app_name for the bookmark for - * @uri. See g_bookmark_file_set_app_info() for more informations about + * Gets the registration information of @app_name for the bookmark for + * @uri. See g_bookmark_file_set_app_info() for more information about * the returned data. * * The string returned in @app_exec must be freed. diff --git a/glib/gtester.c b/glib/gtester.c index 41bf877ff..c54221a4d 100644 --- a/glib/gtester.c +++ b/glib/gtester.c @@ -500,7 +500,7 @@ usage (gboolean just_version) g_print ("Help Options:\n"); g_print (" -h, --help Show this help message\n\n"); g_print ("Utility Options:\n"); - g_print (" -v, --version Print version informations\n"); + g_print (" -v, --version Print version information\n"); g_print (" --g-fatal-warnings Make warnings fatal (abort)\n"); g_print (" -k, --keep-going Continue running after tests failed\n"); g_print (" -l List paths of available test cases\n"); From e0a8df12eff0b2125d39323f23ac21577b592f3d Mon Sep 17 00:00:00 2001 From: Simon McVittie Date: Thu, 5 Apr 2018 11:22:33 +0100 Subject: [PATCH 4/8] Spelling: Fix spelling of "similarly" Detected by Debian's Lintian tool. Signed-off-by: Simon McVittie --- docs/reference/gio/gdbus-codegen.xml | 2 +- gio/gdbusconnection.c | 2 +- gio/gunionvolumemonitor.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/reference/gio/gdbus-codegen.xml b/docs/reference/gio/gdbus-codegen.xml index e4192084d..6fd091f42 100644 --- a/docs/reference/gio/gdbus-codegen.xml +++ b/docs/reference/gio/gdbus-codegen.xml @@ -869,7 +869,7 @@ my_app_frobber_proxy_new_sync (GDBusConnection *connection, subclass. For example, to handle HelloWorld() method invocations, set the vfunc for handle_hello_hello_world() in the - MyAppFrobberIface structure. Similary, to handle + MyAppFrobberIface structure. Similarly, to handle the net.Corp.MyApp.Frobber:Verbose property override the :verbose #GObject property from the subclass. To emit a signal, use diff --git a/gio/gdbusconnection.c b/gio/gdbusconnection.c index 543ca0b2d..7270365b6 100644 --- a/gio/gdbusconnection.c +++ b/gio/gdbusconnection.c @@ -3088,7 +3088,7 @@ static volatile guint _global_filter_id = 1; * dispatched anywhere else - not even the standard dispatch machinery * (that API such as g_dbus_connection_signal_subscribe() and * g_dbus_connection_send_message_with_reply() relies on) will see the - * message. Similary, if a filter consumes an outgoing message, the + * message. Similarly, if a filter consumes an outgoing message, the * message will not be sent to the other peer. * * If @user_data_free_func is non-%NULL, it will be called (in the diff --git a/gio/gunionvolumemonitor.c b/gio/gunionvolumemonitor.c index 8e58d18ed..eeb4c5ffc 100644 --- a/gio/gunionvolumemonitor.c +++ b/gio/gunionvolumemonitor.c @@ -621,7 +621,7 @@ _g_mount_get_for_mount_path (const gchar *mount_path, * also listen for the "removed" signal on the returned object * and give up its reference when handling that signal * - * Similary, if implementing g_volume_monitor_adopt_orphan_mount(), + * Similarly, if implementing g_volume_monitor_adopt_orphan_mount(), * the implementor must take a reference to @mount and return it in * its g_volume_get_mount() implemented. Also, the implementor must * listen for the "unmounted" signal on @mount and give up its From 55cfbd3bc4374e8340f37596c628afc39847e964 Mon Sep 17 00:00:00 2001 From: Simon McVittie Date: Thu, 5 Apr 2018 11:23:07 +0100 Subject: [PATCH 5/8] Spelling: Fix spelling of "constructed" Signed-off-by: Simon McVittie --- docs/reference/gio/gdbus-codegen.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/reference/gio/gdbus-codegen.xml b/docs/reference/gio/gdbus-codegen.xml index 6fd091f42..fdd367bc5 100644 --- a/docs/reference/gio/gdbus-codegen.xml +++ b/docs/reference/gio/gdbus-codegen.xml @@ -941,7 +941,7 @@ on_handle_hello_world (MyAppFrobber *interface, received. The queue is drained in an idle handler (which is called from the thread-default main loop of the thread where the skeleton object was - contructed) and will cause emissions of the org.freedesktop.DBus.Properties::PropertiesChanged signal with all the properties that have changed. Use g_dbus_interface_skeleton_flush() or From 03cf374848914128f23e935a45046412e7660a9b Mon Sep 17 00:00:00 2001 From: Simon McVittie Date: Thu, 5 Apr 2018 11:23:40 +0100 Subject: [PATCH 6/8] Spelling: Fix spelling of "unknown" Signed-off-by: Simon McVittie --- gio/gio-tool.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gio/gio-tool.c b/gio/gio-tool.c index 18200014c..847a2188b 100644 --- a/gio/gio-tool.c +++ b/gio/gio-tool.c @@ -115,7 +115,7 @@ attribute_type_to_string (GFileAttributeType type) case G_FILE_ATTRIBUTE_TYPE_OBJECT: return "object"; default: - return "uknown type"; + return "unknown type"; } } From ec951e9de8e06c125dc7e9f55c806f9081ddd3c9 Mon Sep 17 00:00:00 2001 From: Simon McVittie Date: Tue, 25 Sep 2018 15:56:47 +0100 Subject: [PATCH 7/8] Spelling: avoid the "allows to" pattern This is detected by Debian's Lintian tool, which suggests "allows one to" as a replacement. I've rephrased the documentation in question to avoid both of those. Signed-off-by: Simon McVittie --- docs/reference/gio/gio.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/reference/gio/gio.xml b/docs/reference/gio/gio.xml index f2635d0b3..c348c43e5 100644 --- a/docs/reference/gio/gio.xml +++ b/docs/reference/gio/gio.xml @@ -374,7 +374,7 @@ , - Monitor the file directly. This allows to capture changes made via hardlinks. + Monitor the file directly. This allows changes made via hardlinks to be captured. , @@ -599,7 +599,7 @@ VALUE - Allows to set a file attribute on a file. + Sets a file attribute on a file. File attributes can be specified with their GIO name, e.g standard::icon. Note that not all GIO file attributes are writable. Use the --query-writable option of the info command to list From 1830ebba9175d794d76d49b2aaf60a19a476a3cd Mon Sep 17 00:00:00 2001 From: Simon McVittie Date: Tue, 25 Sep 2018 15:58:56 +0100 Subject: [PATCH 8/8] Spelling: Fix spelling of "interpreted" Detected by Debian's Lintian tool. Signed-off-by: Simon McVittie --- docs/reference/gobject/glib-mkenums.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/reference/gobject/glib-mkenums.xml b/docs/reference/gobject/glib-mkenums.xml index 7e0eabd27..2573bb3e9 100644 --- a/docs/reference/gobject/glib-mkenums.xml +++ b/docs/reference/gobject/glib-mkenums.xml @@ -333,7 +333,7 @@ where section may be file-header, PREFIX -Indicates what portion of the enum name should be intepreted as the +Indicates what portion of the enum name should be interpreted as the prefix (eg, the "Gtk" in "GtkDirectionType"). Normally this will be figured out automatically, but you may need to override the default if your