changeset 25115:2105537c5916

(Fset_window_configuration) [MSDOS]: Don't call x_set_toolbar_lines.
author Eli Zaretskii <eliz@gnu.org>
date Fri, 30 Jul 1999 08:24:02 +0000
parents be5d3e21fbd7
children 6cf131f0607e
files src/window.c
diffstat 1 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/window.c	Fri Jul 30 08:19:22 1999 +0000
+++ b/src/window.c	Fri Jul 30 08:24:02 1999 +0000
@@ -3740,10 +3740,12 @@
       if (XFASTINT (data->frame_menu_bar_lines)
 	  != previous_frame_menu_bar_lines)
 	x_set_menu_bar_lines (f, data->frame_menu_bar_lines, make_number (0));
+#ifdef HAVE_WINDOW_SYSTEM
       if (XFASTINT (data->frame_toolbar_lines)
 	  != previous_frame_toolbar_lines)
 	x_set_toolbar_lines (f, data->frame_toolbar_lines, make_number (0));
 #endif
+#endif
 
       if (! NILP (XWINDOW (selected_window)->buffer))
 	{
@@ -3905,10 +3907,12 @@
       if (previous_frame_menu_bar_lines != FRAME_MENU_BAR_LINES (f))
 	x_set_menu_bar_lines (f, make_number (previous_frame_menu_bar_lines),
 			      make_number (0));
+#ifdef HAVE_WINDOW_SYSTEM
       if (previous_frame_toolbar_lines != FRAME_TOOLBAR_LINES (f))
 	x_set_toolbar_lines (f, make_number (previous_frame_toolbar_lines),
 			     make_number (0));
 #endif
+#endif
 
       /* Now, free glyph matrices in windows that were not reused.  */
       for (i = 0; i < n_leaf_windows; ++i)