summaryrefslogtreecommitdiff
path: root/pango/pango-layout.h
diff options
context:
space:
mode:
authorAlexander Larsson <alexl@redhat.com>2012-12-05 14:04:20 +0100
committerAlexander Larsson <alexl@redhat.com>2012-12-06 16:36:19 +0100
commitd169449e7179ef0028fe8932ee4306bacb099fd2 (patch)
treec4715f0d3fab60877197591b52487284b1a5764e /pango/pango-layout.h
parent3070717bc6e4c2a7bf83508ae5bf7a03eb77bf4b (diff)
downloadpango-d169449e7179ef0028fe8932ee4306bacb099fd2.tar.gz
Track changes in layout and dependencies via serials
We track changes in the PangoContext and automatically call pango_layout_context_changed() when needed, plus we track changes in the layout and let apps know via pango_layout_get_serial when the layout changed and needs to be redrawn. https://bugzilla.gnome.org/show_bug.cgi?id=340066
Diffstat (limited to 'pango/pango-layout.h')
-rw-r--r--pango/pango-layout.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/pango/pango-layout.h b/pango/pango-layout.h
index 6bc50a6a..8177612c 100644
--- a/pango/pango-layout.h
+++ b/pango/pango-layout.h
@@ -163,6 +163,7 @@ gboolean pango_layout_is_ellipsized (PangoLayout *layout);
int pango_layout_get_unknown_glyphs_count (PangoLayout *layout);
void pango_layout_context_changed (PangoLayout *layout);
+guint pango_layout_get_serial (PangoLayout *layout);
void pango_layout_get_log_attrs (PangoLayout *layout,
PangoLogAttr **attrs,