comparison 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
comparison
equal deleted inserted replaced
399:376370fb5946 400:a86b2b5e0111
333 get_gutter_coords (f, pos, &x, &y, &width, &height); 333 get_gutter_coords (f, pos, &x, &y, &width, &height);
334 334
335 SET_GUTTER_WAS_VISIBLE_FLAG (f, pos, 0); 335 SET_GUTTER_WAS_VISIBLE_FLAG (f, pos, 0);
336 336
337 redisplay_clear_region (window, findex, x, y, width, height); 337 redisplay_clear_region (window, findex, x, y, width, height);
338 }
339
340 /* #### I don't currently believe that redisplay needs to mark the
341 glyphs in its structures since these will always be referenced from
342 somewhere else. However, I'm not sure enough to stake my life on it
343 at this point, so we do the safe thing. */
344
345 /* See the comment in image_instantiate_cache_result as to why marking
346 the glyph will also mark the image_instance. */
347 void
348 mark_gutters (struct frame* f)
349 {
350 if (f->current_display_lines)
351 mark_redisplay_structs (f->current_display_lines);
352 if (f->desired_display_lines)
353 mark_redisplay_structs (f->desired_display_lines);
338 } 354 }
339 355
340 void 356 void
341 update_frame_gutters (struct frame *f) 357 update_frame_gutters (struct frame *f)
342 { 358 {