From 202b9a5677898f4e960cec0bcd8cc251f0c9210e Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Sat, 18 Aug 2012 13:34:02 -0400 Subject: Small doc fix --- pango/pango-attributes.h | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) (limited to 'pango/pango-attributes.h') diff --git a/pango/pango-attributes.h b/pango/pango-attributes.h index e22970de..88b7d2d7 100644 --- a/pango/pango-attributes.h +++ b/pango/pango-attributes.h @@ -111,9 +111,27 @@ struct _PangoAttribute guint end_index; /* in bytes. The character at this index is not included */ }; +/** + * PangoAttrFilterFunc: + * @attribute: a Pango attribute + * @user_data: user data passed to the function + * + * Type of a function filtering a list of attributes. + * + * Return value: %TRUE if the attribute should be kept, %FALSE if it should be + * filtered out. + **/ typedef gboolean (*PangoAttrFilterFunc) (PangoAttribute *attribute, gpointer user_data); +/** + * PangoAttrDataCopyFunc: + * @user_data: user data to copy + * + * Type of a function that can duplicate user data for an attribute. + * + * Return value: new copy of @user_data. + **/ typedef gpointer (*PangoAttrDataCopyFunc) (gconstpointer user_data); struct _PangoAttrClass -- cgit v1.2.1