summaryrefslogtreecommitdiff
path: root/pango/pango-tabs.h
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2021-12-01 23:03:28 -0500
committerMatthias Clasen <mclasen@redhat.com>2021-12-01 23:33:41 -0500
commit0a1c31901fbf0db9e98b02ad3ba02681f1c31774 (patch)
treeb1b452e5b0db2ae280d9200612ce98954e65498e /pango/pango-tabs.h
parent7b8d9efa987435a5214092157f032f9d65285d7e (diff)
downloadpango-0a1c31901fbf0db9e98b02ad3ba02681f1c31774.tar.gz
Add pango_tab_array_sort
A utility function to ensure tab stops are in increasing order.
Diffstat (limited to 'pango/pango-tabs.h')
-rw-r--r--pango/pango-tabs.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/pango/pango-tabs.h b/pango/pango-tabs.h
index 0792a36a..8ca94fdb 100644
--- a/pango/pango-tabs.h
+++ b/pango/pango-tabs.h
@@ -106,6 +106,9 @@ PANGO_AVAILABLE_IN_1_50
gunichar pango_tab_array_get_decimal_point (PangoTabArray *tab_array,
int tab_index);
+PANGO_AVAILABLE_IN_1_50
+void pango_tab_array_sort (PangoTabArray *tab_array);
+
G_DEFINE_AUTOPTR_CLEANUP_FUNC(PangoTabArray, pango_tab_array_free)
G_END_DECLS