summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBehdad Esfahbod <behdad@behdad.org>2012-08-18 13:34:02 -0400
committerBehdad Esfahbod <behdad@behdad.org>2012-08-18 13:34:02 -0400
commit202b9a5677898f4e960cec0bcd8cc251f0c9210e (patch)
tree1177ee68d13c9eed4601cec7dd1f6930874c5172
parenta3a23b13312f98d5dfc67b9bcb3d6352633206b7 (diff)
downloadpango-202b9a5677898f4e960cec0bcd8cc251f0c9210e.tar.gz
Small doc fix
-rw-r--r--pango/pango-attributes.h18
1 files changed, 18 insertions, 0 deletions
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