Mercurial > emacs
changeset 85026:09975f2063bd
(struct frame): Don't try to GC-mark menu_bar_items_used.
author | Stefan Monnier <monnier@iro.umontreal.ca> |
---|---|
date | Wed, 03 Oct 2007 23:18:18 +0000 |
parents | f689d2c685d0 |
children | 06c04cf43e80 |
files | src/ChangeLog src/frame.h |
diffstat | 2 files changed, 7 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/src/ChangeLog Wed Oct 03 15:22:54 2007 +0000 +++ b/src/ChangeLog Wed Oct 03 23:18:18 2007 +0000 @@ -1,3 +1,7 @@ +2007-10-03 Stefan Monnier <monnier@iro.umontreal.ca> + + * frame.h (struct frame): Don't try to GC-mark menu_bar_items_used. + 2007-10-02 Stefan Monnier <monnier@iro.umontreal.ca> * window.h (struct window):
--- a/src/frame.h Wed Oct 03 15:22:54 2007 +0000 +++ b/src/frame.h Wed Oct 03 23:18:18 2007 +0000 @@ -152,8 +152,6 @@ For the format of the data, see extensive comments in xmenu.c. Only the X toolkit version uses this. */ Lisp_Object menu_bar_vector; - /* Number of elements in the vector that have meaningful data. */ - EMACS_INT menu_bar_items_used; /* Predicate for selecting buffers for other-buffer. */ Lisp_Object buffer_predicate; @@ -183,6 +181,9 @@ /* Cache of realized faces. */ struct face_cache *face_cache; + /* Number of elements in `menu_bar_vector' that have meaningful data. */ + EMACS_INT menu_bar_items_used; + /* A buffer to hold the frame's name. We can't use the Lisp string's pointer (`name', above) because it might get relocated. */ char *namebuf;