[gtk+] gsk: Add fundamental type annotations for GskRenderNode
- From: Emmanuele Bassi <ebassi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] gsk: Add fundamental type annotations for GskRenderNode
- Date: Tue, 18 Oct 2016 10:54:06 +0000 (UTC)
commit d790054c2effca4ee41275842d16a30f3da49c7c
Author: Emmanuele Bassi <ebassi gnome org>
Date: Mon Jul 4 14:07:24 2016 +0100
gsk: Add fundamental type annotations for GskRenderNode
We need to annotate the GskRenderNode so that the introspection
machinery can find the functions for managing reference counting
and GValues.
gsk/gskrendernode.c | 8 ++++++++
1 files changed, 8 insertions(+), 0 deletions(-)
---
diff --git a/gsk/gskrendernode.c b/gsk/gskrendernode.c
index 2c334e7..9fe76d6 100644
--- a/gsk/gskrendernode.c
+++ b/gsk/gskrendernode.c
@@ -50,6 +50,14 @@
#include <gobject/gvaluecollector.h>
+/**
+ * GskRenderNode: (ref-func gsk_render_node_ref) (unref-func gsk_render_node_unref) (set-value-func
gsk_value_set_render_node) (get-value-func gsk_value_get_render_node)
+ *
+ * The `GskRenderNode` structure contains only private data.
+ *
+ * Since: 3.22
+ */
+
static void
value_render_node_init (GValue *value)
{
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]