diff --git a/gsk/gskenums.h b/gsk/gskenums.h index 2e24a81abd..1851918bd1 100644 --- a/gsk/gskenums.h +++ b/gsk/gskenums.h @@ -45,6 +45,7 @@ * @GSK_CROSS_FADE_NODE: A node that cross-fades between two children * @GSK_TEXT_NODE: A node containing a glyph string * @GSK_BLUR_NODE: A node that applies a blur + * @GSK_DEBUG_NODE: Debug information that does not affect the rendering * * The type of a node determines what the node is rendering. **/ diff --git a/gsk/gskrendernode.h b/gsk/gskrendernode.h index ae69124c5e..17a0549d36 100644 --- a/gsk/gskrendernode.h +++ b/gsk/gskrendernode.h @@ -53,6 +53,15 @@ struct _GskShadow float radius; }; +/** + * GskParseErrorFunc: + * @section: the #GtkCssSection where the error occurred + * @error: the error + * @user_data: user data + * + * The type of callback that is called when a parse error occurs + * during deserialization of node data. + */ typedef void (* GskParseErrorFunc) (const GtkCssSection *section, const GError *error, gpointer user_data);