gsk: Small documentation additions

This commit is contained in:
Matthias Clasen 2020-02-08 19:36:25 -05:00
parent be2ba89900
commit 0e15032635
2 changed files with 10 additions and 0 deletions

View File

@ -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.
**/

View File

@ -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);