[gtk] gsk: Small documentation additions



commit 0e15032635c3be0b8e4b3ffe80d3612c847728eb
Author: Matthias Clasen <mclasen redhat com>
Date:   Sat Feb 8 19:36:25 2020 -0500

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


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