Mercurial > hg > xemacs-beta
diff src/gutter.c @ 400:a86b2b5e0111 r21-2-30
Import from CVS: tag r21-2-30
author | cvs |
---|---|
date | Mon, 13 Aug 2007 11:14:34 +0200 |
parents | 74fd4e045ea6 |
children | 2f8bb876ab1d |
line wrap: on
line diff
--- a/src/gutter.c Mon Aug 13 11:13:33 2007 +0200 +++ b/src/gutter.c Mon Aug 13 11:14:34 2007 +0200 @@ -337,6 +337,22 @@ redisplay_clear_region (window, findex, x, y, width, height); } +/* #### I don't currently believe that redisplay needs to mark the + glyphs in its structures since these will always be referenced from + somewhere else. However, I'm not sure enough to stake my life on it + at this point, so we do the safe thing. */ + +/* See the comment in image_instantiate_cache_result as to why marking + the glyph will also mark the image_instance. */ +void +mark_gutters (struct frame* f) +{ + if (f->current_display_lines) + mark_redisplay_structs (f->current_display_lines); + if (f->desired_display_lines) + mark_redisplay_structs (f->desired_display_lines); +} + void update_frame_gutters (struct frame *f) {