gtk-screen: Expose handler must not layout-line! during redraw-line!.
authorMatt Birkholz <matt@birkholz.chandler.az.us>
Mon, 18 Mar 2013 20:33:10 +0000 (13:33 -0700)
committerMatt Birkholz <matt@birkholz.chandler.az.us>
Mon, 18 Mar 2013 20:33:10 +0000 (13:33 -0700)
commitad51fdce2bd56f8e1428f152336321e11e4b97f6
treeda475c42e3d48d3f83394c4af64b9f2033d17977
parent882db9f35ea45f512678314f426136784e3261e3
gtk-screen: Expose handler must not layout-line! during redraw-line!.

Renamed %layout-line! to emphasize that it should not be used without
interlocking with the expose handler, i.e. without without-interrupts.
Most calls are serialized by edwin-thread but the expose handler can
intervene (and likely WILL when running interpreted s-code), so all
calls should be without-interrupts, for now.

Punt exposing uninitialized lines.

Simplify the destruction of override text (a simple-text-ink) AND
ensure that it does not call %layout-line! via text-ink-pango-layout.
src/gtk-screen/gtk-screen.pkg
src/gtk-screen/gtk-screen.scm