diff options
author | Alexander Larsson <alexl@redhat.com> | 2012-12-05 13:56:06 +0100 |
---|---|---|
committer | Alexander Larsson <alexl@redhat.com> | 2012-12-06 16:36:19 +0100 |
commit | 3070717bc6e4c2a7bf83508ae5bf7a03eb77bf4b (patch) | |
tree | 271e308ecba228326aa3126f0719936f8d73904b /pango/pango.def | |
parent | 3f3a095a1809375ef600dc3a947b3ff2df08f22c (diff) | |
download | pango-3070717bc6e4c2a7bf83508ae5bf7a03eb77bf4b.tar.gz |
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
Diffstat (limited to 'pango/pango.def')
-rw-r--r-- | pango/pango.def | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/pango/pango.def b/pango/pango.def index 66e70d3b..3b4252f3 100644 --- a/pango/pango.def +++ b/pango/pango.def @@ -58,6 +58,7 @@ EXPORTS pango_color_to_string pango_config_key_get pango_config_key_get_system + pango_context_changed pango_context_get_base_dir pango_context_get_base_gravity pango_context_get_font_description @@ -67,6 +68,7 @@ EXPORTS pango_context_get_language pango_context_get_matrix pango_context_get_metrics + pango_context_get_serial pango_context_get_type pango_context_list_families pango_context_load_font |