Subject: [gtk+/wip/otte/rendernode: 19/29] gsk:
Export gsk_render_node_get_bounds()



commit 75510f7123a4fa479357ee7c138957e6fbb63bd0
Author: Benjamin Otte <otte@xxxxxxxxxx>
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);

_______________________________________________
commits-list mailing list (read only)
https://mail.gnome.org/mailman/listinfo/commits-list

Want to limit the commits to a few modules? Go to above URL, log in to edit
your options and select the modules ('topics') you want.



Programming list archiving by: Enterprise Git Hosting