libgnt/libgnt
Clone
Summary
Browse
Changes
Graph
Fix typos in libgnt
2021-10-11, Elliott Sales de Andrade
90dfa93808ad
Parents
aa6ec6eb8a32
Children
eed074767fad
Fix typos in libgnt
Ran `codespell -w` and reverted a few false positives.
Testing Done:
Compile only.
Reviewed at https://reviews.imfreedom.org/r/1021/
7 files changed, 13 insertions(+), 13 deletions(-)
+1
-1
ChangeLog
+1
-1
gntbindable.c
+1
-1
gntfilesel.h
+1
-1
gntkeys.h
+1
-1
gntmenu.h
+7
-7
gntutils.h
+1
-1
gntwm.c
--- a/ChangeLog Sun Oct 10 04:16:16 2021 -0500
+++ b/ChangeLog Mon Oct 11 21:04:43 2021 -0500
@@ -192,7 +192,7 @@
request dialog. M-d will properly delete-forward-word, and M-f has been
fixed to imitate readline's behavior.
* New bindings alt+tab and alt+shift+tab to help navigating between the
- higlighted windows (details on the man page).
+ highlighted windows (details on the man page).
version 2.3.0 (2007/11/24):
* It's possible to bind key-strokes to specific menuitems in the windows.
--- a/gntbindable.c Sun Oct 10 04:16:16 2021 -0500
+++ b/gntbindable.c Mon Oct 11 21:04:43 2021 -0500
@@ -43,7 +43,7 @@
char * keys; /* New Keystrokes being bound to the action */
GntBindableClass * klass; /* Class of the object that's getting keys rebound */
char * name; /* The name of the action */
- GList * params; /* The list of paramaters */
+ GList * params; /* The list of parameters */
} rebind_info;
typedef struct
--- a/gntfilesel.h Sun Oct 10 04:16:16 2021 -0500
+++ b/gntfilesel.h Mon Oct 11 21:04:43 2021 -0500
@@ -83,7 +83,7 @@
* @dirs: %TRUE if only directories can be selected, %FALSE if files
* can also be selected.
*
- * Set wheter to only allow selecting directories.
+ * Set whether to only allow selecting directories.
*/
void gnt_file_sel_set_dirs_only(GntFileSel *sel, gboolean dirs);
--- a/gntkeys.h Sun Oct 10 04:16:16 2021 -0500
+++ b/gntkeys.h Mon Oct 11 21:04:43 2021 -0500
@@ -42,7 +42,7 @@
* GNT_KEY_SAFE: (skip)
* @x: A character.
*
- * If @x is printable this evalutes to @x, otherwise "".
+ * If @x is printable this evaluates to @x, otherwise "".
*/
#define GNT_KEY_SAFE(x) ((cur_term && (x)) ? (x) : "")
--- a/gntmenu.h Sun Oct 10 04:16:16 2021 -0500
+++ b/gntmenu.h Mon Oct 11 21:04:43 2021 -0500
@@ -41,7 +41,7 @@
* @GNT_MENU_TOPLEVEL: Menu for a toplevel window
* @GNT_MENU_POPUP: A popup menu
*
- * A toplevel-menu is displayed at the top of the screen, and it spans accross
+ * A toplevel-menu is displayed at the top of the screen, and it spans across
* the entire width of the screen.
* A popup-menu could be displayed, for example, as a context menu for widgets.
*/
--- a/gntutils.h Sun Oct 10 04:16:16 2021 -0500
+++ b/gntutils.h Mon Oct 11 21:04:43 2021 -0500
@@ -53,10 +53,10 @@
/* excluding *end */
/**
* gnt_util_onscreen_width:
- * @start: The beginning of the string.
- * @end: The end of the string. The width returned is the width
- * upto (but not including) end. If end is NULL, then start
- * is considered as a %NULL-terminated string.
+ * @start: The beginning of the string.
+ * @end: The end of the string. The width returned is the width up to (but not
+ * including) end. If end is %NULL, then start is considered as a
+ * %NULL-terminated string.
*
* Get the onscreen width of a string, or a substring.
*
@@ -66,9 +66,9 @@
/**
* gnt_util_onscreen_width_to_pointer:
- * @str: The string.
- * @len: The length to consider. If non-positive, the entire screenlength is used.
- * @w: The actual width of the string upto the returned offset, if not %NULL.
+ * @str: The string.
+ * @len: The length to consider. If non-positive, the entire screenlength is used.
+ * @w: The actual width of the string up to the returned offset, if not %NULL.
*
* Computes and returns the string after a specific number of onscreen characters.
*
--- a/gntwm.c Sun Oct 10 04:16:16 2021 -0500
+++ b/gntwm.c Mon Oct 11 21:04:43 2021 -0500
@@ -151,7 +151,7 @@
static guint write_timeout;
static time_t last_active_time;
static gboolean idle_update;
-static GList *act = NULL; /* list of WS with unseen activitiy */
+static GList *act = NULL; /* list of WS with unseen activity */
static gboolean ignore_keys = FALSE;
#ifdef USE_PYTHON
static gboolean started_python = FALSE;