mirror of
https://github.com/MidnightCommander/mc
synced 2024-12-22 20:36:50 +03:00
1999-09-09 Federico Mena Quintero <federico@redhat.com>
* gcorba.c (WindowFactory_close_invalid_windows): Doh. Walk the list properly, since it may change as we delete windows.
This commit is contained in:
parent
1dd842ad0b
commit
3c37665ce8
@ -1,3 +1,8 @@
|
||||
1999-09-09 Federico Mena Quintero <federico@redhat.com>
|
||||
|
||||
* gcorba.c (WindowFactory_close_invalid_windows): Doh. Walk the
|
||||
list properly, since it may change as we delete windows.
|
||||
|
||||
1999-09-09 Federico Mena Quintero <federico@redhat.com>
|
||||
|
||||
* gmc-client.c: New file. This is a small program to which you
|
||||
|
@ -276,8 +276,10 @@ WindowFactory_close_invalid_windows (PortableServer_Servant servant,
|
||||
* fails, then we destroy the panel's window.
|
||||
*/
|
||||
|
||||
for (l = containers; l; l = l->next) {
|
||||
l = containers;
|
||||
while (l) {
|
||||
pc = l->data;
|
||||
l = l->next;
|
||||
|
||||
if (mc_chdir (pc->panel->cwd) != 0)
|
||||
gnome_close_panel (GTK_WIDGET (pc->panel->xwindow), pc->panel);
|
||||
|
Loading…
Reference in New Issue
Block a user