* src/layout.c (layout_do_change): Remove global variable.

(layout_cmd): Reflect the changes above.
(layout_change): Ditto.
This commit is contained in:
Pavel Tsekov 2006-09-25 08:34:48 +00:00
parent 5d4d2db3f3
commit 43b82f1201
2 changed files with 7 additions and 4 deletions

View File

@ -1,3 +1,9 @@
2006-09-25 Pavel Tsekov <ptsekov@gmx.net>
* layout.c (layout_do_change): Remove global variable.
(layout_cmd): Reflect the changes above.
(layout_change): Ditto.
2006-09-18 Pavel Tsekov <ptsekov@gmx.net>
* main.c (xtoolkit_panel_setup): Remove - it is a noop.

View File

@ -69,9 +69,6 @@
/* Controls the display of the rotating dash on the verbose mode */
int nice_rotating_dash = 1;
/* If set, then we have to call the layout_change routine from main */
static int layout_do_change = 0;
/* Set if the panels are split horizontally */
int horizontal_split = 0;
@ -495,7 +492,6 @@ static void
layout_change (void)
{
setup_panels ();
layout_do_change = 0;
/* re-init the menu, because perhaps there was a change in the way
how the panel are split (horizontal/vertical). */
done_menu ();
@ -507,6 +503,7 @@ void layout_cmd (void)
{
int result;
int i;
int layout_do_change = 0;
init_layout ();
run_dlg (layout_dlg);