Track changes in PangoContext via a serial
authorAlexander Larsson <alexl@redhat.com>
Wed, 5 Dec 2012 12:56:06 +0000 (13:56 +0100)
committerAlexander Larsson <alexl@redhat.com>
Thu, 6 Dec 2012 15:36:19 +0000 (16:36 +0100)
commit3070717bc6e4c2a7bf83508ae5bf7a03eb77bf4b
tree271e308ecba228326aa3126f0719936f8d73904b
parent3f3a095a1809375ef600dc3a947b3ff2df08f22c
Track changes in PangoContext via a serial

Whenever a PangoContext or its fontmap changes we bump the
contexts serial, you can get it via pango_context_get_serial()
to see find out if the context changed since the last time and
you need to relayout.

You can also force the context to be "changed" by calling
pango_context_changed().

https://bugzilla.gnome.org/show_bug.cgi?id=340066
docs/pango-sections.txt
docs/tmpl/main.sgml
pango/pango-context.c
pango/pango-context.h
pango/pango.def
pango/pangocairo-context.c