Small doc fix
authorBehdad Esfahbod <behdad@behdad.org>
Sat, 18 Aug 2012 17:34:02 +0000 (13:34 -0400)
committerBehdad Esfahbod <behdad@behdad.org>
Sat, 18 Aug 2012 17:34:02 +0000 (13:34 -0400)
pango/pango-attributes.h

index e22970d..88b7d2d 100644 (file)
@@ -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