aboutsummaryrefslogtreecommitdiffstats
path: root/src/dispnew.c
diff options
context:
space:
mode:
authorGerd Moellmann1999-09-05 15:49:07 +0000
committerGerd Moellmann1999-09-05 15:49:07 +0000
commit9ea173e83025644384bad4a4ea697bcb6cf7995e (patch)
treef787c96d61d0fecd60d18e050f8649b6fd77a19d /src/dispnew.c
parente037b9ecb3c11b1775171da6e9376a5221fefd78 (diff)
downloademacs-9ea173e83025644384bad4a4ea697bcb6cf7995e.tar.gz
emacs-9ea173e83025644384bad4a4ea697bcb6cf7995e.zip
Change spelling of `toolbar' to `tool_bar' or `tool-bar'.
Likewise for upper-case etc.
Diffstat (limited to 'src/dispnew.c')
-rw-r--r--src/dispnew.c54
1 files changed, 27 insertions, 27 deletions
diff --git a/src/dispnew.c b/src/dispnew.c
index 169b64e7dbf..b21f5796e01 100644
--- a/src/dispnew.c
+++ b/src/dispnew.c
@@ -885,9 +885,9 @@ clear_current_matrices (f)
885 if (WINDOWP (f->menu_bar_window)) 885 if (WINDOWP (f->menu_bar_window))
886 clear_glyph_matrix (XWINDOW (f->menu_bar_window)->current_matrix); 886 clear_glyph_matrix (XWINDOW (f->menu_bar_window)->current_matrix);
887 887
888 /* Clear the matrix of the toolbar window, if any. */ 888 /* Clear the matrix of the tool-bar window, if any. */
889 if (WINDOWP (f->toolbar_window)) 889 if (WINDOWP (f->tool_bar_window))
890 clear_glyph_matrix (XWINDOW (f->toolbar_window)->current_matrix); 890 clear_glyph_matrix (XWINDOW (f->tool_bar_window)->current_matrix);
891 891
892 /* Clear current window matrices. */ 892 /* Clear current window matrices. */
893 xassert (WINDOWP (FRAME_ROOT_WINDOW (f))); 893 xassert (WINDOWP (FRAME_ROOT_WINDOW (f)));
@@ -907,8 +907,8 @@ clear_desired_matrices (f)
907 if (WINDOWP (f->menu_bar_window)) 907 if (WINDOWP (f->menu_bar_window))
908 clear_glyph_matrix (XWINDOW (f->menu_bar_window)->desired_matrix); 908 clear_glyph_matrix (XWINDOW (f->menu_bar_window)->desired_matrix);
909 909
910 if (WINDOWP (f->toolbar_window)) 910 if (WINDOWP (f->tool_bar_window))
911 clear_glyph_matrix (XWINDOW (f->toolbar_window)->desired_matrix); 911 clear_glyph_matrix (XWINDOW (f->tool_bar_window)->desired_matrix);
912 912
913 /* Do it for window matrices. */ 913 /* Do it for window matrices. */
914 xassert (WINDOWP (FRAME_ROOT_WINDOW (f))); 914 xassert (WINDOWP (FRAME_ROOT_WINDOW (f)));
@@ -2076,21 +2076,21 @@ adjust_frame_glyphs_for_window_redisplay (f)
2076 } 2076 }
2077#endif /* not USE_X_TOOLKIT */ 2077#endif /* not USE_X_TOOLKIT */
2078 2078
2079 /* Allocate/ reallocate matrices of the toolbar window. If we don't 2079 /* Allocate/ reallocate matrices of the tool bar window. If we
2080 have a toolbar window yet, make one. */ 2080 don't have a tool bar window yet, make one. */
2081 if (NILP (f->toolbar_window)) 2081 if (NILP (f->tool_bar_window))
2082 { 2082 {
2083 f->toolbar_window = make_window (); 2083 f->tool_bar_window = make_window ();
2084 w = XWINDOW (f->toolbar_window); 2084 w = XWINDOW (f->tool_bar_window);
2085 XSETFRAME (w->frame, f); 2085 XSETFRAME (w->frame, f);
2086 w->pseudo_window_p = 1; 2086 w->pseudo_window_p = 1;
2087 } 2087 }
2088 else 2088 else
2089 w = XWINDOW (f->toolbar_window); 2089 w = XWINDOW (f->tool_bar_window);
2090 2090
2091 XSETFASTINT (w->top, FRAME_MENU_BAR_LINES (f)); 2091 XSETFASTINT (w->top, FRAME_MENU_BAR_LINES (f));
2092 XSETFASTINT (w->left, 0); 2092 XSETFASTINT (w->left, 0);
2093 XSETFASTINT (w->height, FRAME_TOOLBAR_LINES (f)); 2093 XSETFASTINT (w->height, FRAME_TOOL_BAR_LINES (f));
2094 XSETFASTINT (w->width, FRAME_WINDOW_WIDTH (f)); 2094 XSETFASTINT (w->width, FRAME_WINDOW_WIDTH (f));
2095 allocate_matrices_for_window_redisplay (w, ch_dim); 2095 allocate_matrices_for_window_redisplay (w, ch_dim);
2096} 2096}
@@ -2167,14 +2167,14 @@ free_glyphs (f)
2167 f->menu_bar_window = Qnil; 2167 f->menu_bar_window = Qnil;
2168 } 2168 }
2169 2169
2170 /* Free the toolbar window and its glyph matrices. */ 2170 /* Free the tool bar window and its glyph matrices. */
2171 if (!NILP (f->toolbar_window)) 2171 if (!NILP (f->tool_bar_window))
2172 { 2172 {
2173 struct window *w = XWINDOW (f->toolbar_window); 2173 struct window *w = XWINDOW (f->tool_bar_window);
2174 free_glyph_matrix (w->desired_matrix); 2174 free_glyph_matrix (w->desired_matrix);
2175 free_glyph_matrix (w->current_matrix); 2175 free_glyph_matrix (w->current_matrix);
2176 w->desired_matrix = w->current_matrix = NULL; 2176 w->desired_matrix = w->current_matrix = NULL;
2177 f->toolbar_window = Qnil; 2177 f->tool_bar_window = Qnil;
2178 } 2178 }
2179 2179
2180 /* Release frame glyph matrices. Reset fields to zero in 2180 /* Release frame glyph matrices. Reset fields to zero in
@@ -3352,10 +3352,10 @@ update_frame (f, force_p, inhibit_hairy_id_p)
3352 update_window (XWINDOW (f->menu_bar_window), 1); 3352 update_window (XWINDOW (f->menu_bar_window), 1);
3353 3353
3354 /* Update the tool-bar window, if present. */ 3354 /* Update the tool-bar window, if present. */
3355 if (WINDOWP (f->toolbar_window)) 3355 if (WINDOWP (f->tool_bar_window))
3356 { 3356 {
3357 Lisp_Object tem; 3357 Lisp_Object tem;
3358 struct window *w = XWINDOW (f->toolbar_window); 3358 struct window *w = XWINDOW (f->tool_bar_window);
3359 3359
3360 /* Update tool-bar window. */ 3360 /* Update tool-bar window. */
3361 if (w->must_be_updated_p) 3361 if (w->must_be_updated_p)
@@ -3365,16 +3365,16 @@ update_frame (f, force_p, inhibit_hairy_id_p)
3365 3365
3366 /* Swap tool-bar strings. We swap because we want to 3366 /* Swap tool-bar strings. We swap because we want to
3367 reuse strings. */ 3367 reuse strings. */
3368 tem = f->current_toolbar_string; 3368 tem = f->current_tool_bar_string;
3369 f->current_toolbar_string = f->desired_toolbar_string; 3369 f->current_tool_bar_string = f->desired_tool_bar_string;
3370 f->desired_toolbar_string = tem; 3370 f->desired_tool_bar_string = tem;
3371 f->n_current_toolbar_items = f->n_desired_toolbar_items; 3371 f->n_current_tool_bar_items = f->n_desired_tool_bar_items;
3372 3372
3373 /* Swap tool-bar items. We swap because we want to 3373 /* Swap tool-bar items. We swap because we want to
3374 reuse vectors. */ 3374 reuse vectors. */
3375 tem = f->current_toolbar_items; 3375 tem = f->current_tool_bar_items;
3376 f->current_toolbar_items = f->desired_toolbar_items; 3376 f->current_tool_bar_items = f->desired_tool_bar_items;
3377 f->desired_toolbar_items = tem; 3377 f->desired_tool_bar_items = tem;
3378 } 3378 }
3379 } 3379 }
3380 3380
@@ -5336,8 +5336,8 @@ change_frame_size_1 (f, newheight, newwidth, pretend, delay, safe)
5336 if (FRAME_TERMCAP_P (f) && !pretend) 5336 if (FRAME_TERMCAP_P (f) && !pretend)
5337 FrameCols = newwidth; 5337 FrameCols = newwidth;
5338 5338
5339 if (WINDOWP (f->toolbar_window)) 5339 if (WINDOWP (f->tool_bar_window))
5340 XSETFASTINT (XWINDOW (f->toolbar_window)->width, newwidth); 5340 XSETFASTINT (XWINDOW (f->tool_bar_window)->width, newwidth);
5341 } 5341 }
5342 5342
5343 FRAME_HEIGHT (f) = newheight; 5343 FRAME_HEIGHT (f) = newheight;