From e6750596ef55352c260c200747bec3303e181fe8 Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Fri, 14 Apr 2017 12:42:03 -0700 Subject: ; Spelling and minor wording fixes --- src/frame.c | 6 +++--- src/gtkutil.c | 8 ++++---- src/xfns.c | 18 +++++++++--------- 3 files changed, 16 insertions(+), 16 deletions(-) (limited to 'src') diff --git a/src/frame.c b/src/frame.c index fc7982d0d55..282b691c277 100644 --- a/src/frame.c +++ b/src/frame.c @@ -337,7 +337,7 @@ DEFUN ("frame-windows-min-size", Fframe_windows_min_size, * value to be returned. In that latter case IGNORE is ignored. * * If `frame-windows-min-size' is called, it will make sure that the - * return value accomodates all windows of FRAME respecting the values + * return value accommodates all windows of FRAME respecting the values * of `window-min-height' (`window-min-width' if HORIZONTAL is non-nil). * With IGNORE non-nil the values of these variables are ignored. * @@ -2614,8 +2614,8 @@ store_frame_param (struct frame *f, Lisp_Object prop, Lisp_Object val) } } - /* Check these parameters for circular dependeny. This does not check - for interdependencies between these properties. Hence you can + /* Check each parent-frame and delete-before parameter for a + circular dependency. Do not check between parameters, so you can still create circular dependencies with different properties, for example a chain of frames F1->F2->...Fn such that F1 is an ancestor frame of Fn and thus cannot be deleted before Fn and a second chain diff --git a/src/gtkutil.c b/src/gtkutil.c index ad3590dfa66..1b63293fe55 100644 --- a/src/gtkutil.c +++ b/src/gtkutil.c @@ -1540,9 +1540,9 @@ xg_set_no_focus_on_map (struct frame *f, Lisp_Object no_focus_on_map) if (FRAME_GTK_WIDGET (f)) { GtkWindow *gwin = GTK_WINDOW (FRAME_GTK_OUTER_WIDGET (f)); - gboolean gno_focus_on_map = NILP (no_focus_on_map) ? TRUE : FALSE; + gboolean g_no_focus_on_map = NILP (no_focus_on_map) ? TRUE : FALSE; - gtk_window_set_focus_on_map (gwin, gno_focus_on_map); + gtk_window_set_focus_on_map (gwin, g_no_focus_on_map); } unblock_input (); } @@ -1555,9 +1555,9 @@ xg_set_no_accept_focus (struct frame *f, Lisp_Object no_accept_focus) if (FRAME_GTK_WIDGET (f)) { GtkWindow *gwin = GTK_WINDOW (FRAME_GTK_OUTER_WIDGET (f)); - gboolean gno_accept_focus = NILP (no_accept_focus) ? TRUE : FALSE; + gboolean g_no_accept_focus = NILP (no_accept_focus) ? TRUE : FALSE; - gtk_window_set_accept_focus (gwin, gno_accept_focus); + gtk_window_set_accept_focus (gwin, g_no_accept_focus); } unblock_input (); } diff --git a/src/xfns.c b/src/xfns.c index 3257805cabb..e463391c74a 100644 --- a/src/xfns.c +++ b/src/xfns.c @@ -799,9 +799,9 @@ x_set_undecorated (struct frame *f, Lisp_Object new_value, Lisp_Object old_value hints.decorations = NILP (new_value) ? MWM_DECOR_ALL : 0; block_input (); - /* For some reason the third and fourth argument in the following - call must be identic: In the corresponding XGetWindowProperty - call in getMotifHints, xfwm has the third and seventh arg both + /* For some reason the third and fourth arguments in the following + call must be identical: In the corresponding XGetWindowProperty + call in getMotifHints, xfwm has the third and seventh args both display_info->atoms[MOTIF_WM_HINTS]. Obviously, YMMV. */ XChangeProperty (dpy, FRAME_OUTER_WINDOW (f), prop, prop, 32, PropModeReplace, (unsigned char *) &hints, @@ -3041,9 +3041,9 @@ x_window (struct frame *f, long window_prompting) hints.flags = MWM_HINTS_DECORATIONS; hints.decorations = 0; - /* For some reason the third and fourth argument in the following - call must be identic: In the corresponding XGetWindowProperty - call in getMotifHints, xfwm has the third and seventh arg both + /* For some reason the third and fourth arguments in the following + call must be identical: In the corresponding XGetWindowProperty + call in getMotifHints, xfwm has the third and seventh args both display_info->atoms[MOTIF_WM_HINTS]. Obviously, YMMV. */ XChangeProperty (dpy, FRAME_OUTER_WINDOW (f), prop, prop, 32, PropModeReplace, (unsigned char *) &hints, @@ -3201,9 +3201,9 @@ x_window (struct frame *f) hints.flags = MWM_HINTS_DECORATIONS; hints.decorations = 0; - /* For some reason the third and fourth argument in the following - call must be identic: In the corresponding XGetWindowProperty - call in getMotifHints, xfwm has the third and seventh arg both + /* For some reason the third and fourth arguments in the following + call must be identical: In the corresponding XGetWindowProperty + call in getMotifHints, xfwm has the third and seventh args both display_info->atoms[MOTIF_WM_HINTS]. Obviously, YMMV. */ XChangeProperty (dpy, FRAME_OUTER_WINDOW (f), prop, prop, 32, PropModeReplace, (unsigned char *) &hints, -- cgit v1.2.1