From 3070717bc6e4c2a7bf83508ae5bf7a03eb77bf4b Mon Sep 17 00:00:00 2001 From: Alexander Larsson Date: Wed, 5 Dec 2012 13:56:06 +0100 Subject: 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 | 2 ++ 1 file changed, 2 insertions(+) (limited to 'docs/pango-sections.txt') diff --git a/docs/pango-sections.txt b/docs/pango-sections.txt index bce6cf48..ec004bdc 100644 --- a/docs/pango-sections.txt +++ b/docs/pango-sections.txt @@ -17,6 +17,8 @@ pango_item_split pango_reorder_items pango_context_new +pango_context_changed +pango_context_get_serial pango_context_set_font_map pango_context_get_font_map pango_context_get_font_description -- cgit v1.2.1