summaryrefslogtreecommitdiff
path: root/pango/pangocoretext-private.h
diff options
context:
space:
mode:
authorAlexander Larsson <alexl@redhat.com>2012-12-05 13:29:48 +0100
committerAlexander Larsson <alexl@redhat.com>2012-12-06 16:36:19 +0100
commit3f3a095a1809375ef600dc3a947b3ff2df08f22c (patch)
tree5d7d2cb3ada7f3fe92fb4525eea7907f185165e1 /pango/pangocoretext-private.h
parentb359bb484bc7d27a835cfd6d9ffcaed582ebf2ae (diff)
downloadpango-3f3a095a1809375ef600dc3a947b3ff2df08f22c.tar.gz
Track changes in FontMaps using a serial
This adds the pango_font_map_get_serial method that lets you see if a fontmap has changes since the last check. It adds implementations to all current fontmaps. https://bugzilla.gnome.org/show_bug.cgi?id=340066
Diffstat (limited to 'pango/pangocoretext-private.h')
-rw-r--r--pango/pangocoretext-private.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/pango/pangocoretext-private.h b/pango/pangocoretext-private.h
index 3e0dafdc..8076eaea 100644
--- a/pango/pangocoretext-private.h
+++ b/pango/pangocoretext-private.h
@@ -51,6 +51,7 @@ struct _PangoCoreTextFontMap
{
PangoFontMap parent_instance;
+ guint serial;
GHashTable *fontset_hash;
GHashTable *font_hash;