aboutsummaryrefslogtreecommitdiffstats
path: root/src/frame.c
diff options
context:
space:
mode:
authorMartin Rudalics2011-06-07 14:51:07 +0200
committerMartin Rudalics2011-06-07 14:51:07 +0200
commitfa8a67e67454a900e4cf7b93fed96f27ea41b1b8 (patch)
tree3508a1b1b1d4a18ad171cf885e8f378b115955cc /src/frame.c
parent81d63f1a46e650d576a071c7126acde3e886c078 (diff)
downloademacs-fa8a67e67454a900e4cf7b93fed96f27ea41b1b8.tar.gz
emacs-fa8a67e67454a900e4cf7b93fed96f27ea41b1b8.zip
Make delete_all_subwindows argument a Lisp_Object.
* window.c (delete_window, Fset_window_configuration): Call delete_all_subwindows with window as argument. (delete_all_subwindows): Take a window as argument and not a structure. Rewrite. * window.h: delete_all_subwindows now takes a Lisp_Object as argument. * frame.c (delete_frame): Call delete_all_subwindows with root window as argument.
Diffstat (limited to 'src/frame.c')
-rw-r--r--src/frame.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/frame.c b/src/frame.c
index 68984a68d52..71881265b44 100644
--- a/src/frame.c
+++ b/src/frame.c
@@ -1336,7 +1336,7 @@ delete_frame (Lisp_Object frame, Lisp_Object force)
1336 1336
1337 /* Mark all the windows that used to be on FRAME as deleted, and then 1337 /* Mark all the windows that used to be on FRAME as deleted, and then
1338 remove the reference to them. */ 1338 remove the reference to them. */
1339 delete_all_subwindows (XWINDOW (f->root_window)); 1339 delete_all_subwindows (f->root_window);
1340 f->root_window = Qnil; 1340 f->root_window = Qnil;
1341 1341
1342 Vframe_list = Fdelq (frame, Vframe_list); 1342 Vframe_list = Fdelq (frame, Vframe_list);