[pango] Small doc fix



commit 202b9a5677898f4e960cec0bcd8cc251f0c9210e
Author: Behdad Esfahbod <behdad behdad org>
Date:   Sat Aug 18 13:34:02 2012 -0400

    Small doc fix

 pango/pango-attributes.h |   18 ++++++++++++++++++
 1 files changed, 18 insertions(+), 0 deletions(-)
---
diff --git a/pango/pango-attributes.h b/pango/pango-attributes.h
index e22970d..88b7d2d 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



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]