From 0e15032635c3be0b8e4b3ffe80d3612c847728eb Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Sat, 8 Feb 2020 19:36:25 -0500 Subject: [PATCH] gsk: Small documentation additions --- gsk/gskenums.h | 1 + gsk/gskrendernode.h | 9 +++++++++ 2 files changed, 10 insertions(+) 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);