(not (fix:zero? (fix-rect-height extent))))
(for-each
(lambda (widget)
- (let ((intersect (let ((v (fix-layout-view widget)))
- (and (fix-rect-nominal? v)
- (window-intersection v extent)))))
- (if (and intersect (not (gtk-widget-destroyed? widget)))
- (C-call "gtk_widget_queue_draw_area"
- (gobject-alien widget)
- (fix-rect-x intersect) (fix-rect-y intersect)
- (fix-rect-width intersect) (fix-rect-height intersect)))))
+ (if (not (gtk-widget-destroyed? widget))
+ (let ((intersect (let ((v (fix-layout-view widget)))
+ (and (fix-rect-nominal? v)
+ (window-intersection v extent)))))
+ (if intersect
+ (C-call "gtk_widget_queue_draw_area"
+ (gobject-alien widget)
+ (fix-rect-x intersect) (fix-rect-y intersect)
+ (fix-rect-width intersect)
+ (fix-rect-height intersect))))))
(let ((widgets (fix-ink-widgets ink)))
(if (eq? #t widgets)
(fix-drawing-widgets drawing)