[gtk+] gsk: Export gsk_render_node_get_bounds()
- From: Benjamin Otte <otte src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] gsk: Export gsk_render_node_get_bounds()
- Date: Fri, 23 Dec 2016 07:44:11 +0000 (UTC)
commit 735846cc823157de75a7606a611caeebd9495736
Author: Benjamin Otte <otte redhat com>
Date: Wed Dec 21 07:20:28 2016 +0100
gsk: Export gsk_render_node_get_bounds()
I'll need it in tests/testsuite soon.
docs/reference/gsk/gsk4-sections.txt | 2 ++
gsk/gskrendernode.h | 3 +++
gsk/gskrendernodeprivate.h | 2 --
3 files changed, 5 insertions(+), 2 deletions(-)
---
diff --git a/docs/reference/gsk/gsk4-sections.txt b/docs/reference/gsk/gsk4-sections.txt
index 9c9fee1..45b4869 100644
--- a/docs/reference/gsk/gsk4-sections.txt
+++ b/docs/reference/gsk/gsk4-sections.txt
@@ -32,6 +32,8 @@ gsk_render_node_draw
GskScalingFilter
gsk_render_node_set_scaling_filters
gsk_render_node_set_name
+gsk_render_node_get_name
+gsk_render_node_get_bounds
gsk_color_node_new
gsk_linear_gradient_node_new
gsk_repeating_linear_gradient_node_new
diff --git a/gsk/gskrendernode.h b/gsk/gskrendernode.h
index 0cbbfd5..650ac9b 100644
--- a/gsk/gskrendernode.h
+++ b/gsk/gskrendernode.h
@@ -166,6 +166,9 @@ void gsk_render_node_set_name (GskRenderNode *
const char *name);
GDK_AVAILABLE_IN_3_90
const char * gsk_render_node_get_name (GskRenderNode *node);
+GDK_AVAILABLE_IN_3_90
+void gsk_render_node_get_bounds (GskRenderNode *node,
+ graphene_rect_t *frame);
GDK_AVAILABLE_IN_3_90
void gsk_render_node_draw (GskRenderNode *node,
diff --git a/gsk/gskrendernodeprivate.h b/gsk/gskrendernodeprivate.h
index 3213314..25c10ea 100644
--- a/gsk/gskrendernodeprivate.h
+++ b/gsk/gskrendernodeprivate.h
@@ -40,8 +40,6 @@ struct _GskRenderNodeClass
GskRenderNode *gsk_render_node_new (const GskRenderNodeClass *node_class, gsize extra_size);
-void gsk_render_node_get_bounds (GskRenderNode *node,
- graphene_rect_t *frame);
GVariant * gsk_render_node_serialize_node (GskRenderNode *node);
GskRenderNode * gsk_render_node_deserialize_node (GskRenderNodeType type, GVariant *variant);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]