summaryrefslogtreecommitdiff
path: root/gsk/gskrendernode.c
diff options
context:
space:
mode:
authorBenjamin Otte <otte@redhat.com>2016-12-11 02:33:58 +0100
committerBenjamin Otte <otte@redhat.com>2016-12-20 18:01:09 +0100
commitabd184efc984d027dad9d2ca1b3e92b670b34af4 (patch)
treeb765b465dac21beccba49f593f9ab09c2d567271 /gsk/gskrendernode.c
parentcb5c5170f4ecd52556247ed74b1c8a32452b4874 (diff)
downloadgtk+-abd184efc984d027dad9d2ca1b3e92b670b34af4.tar.gz
gsk: Remove gsk_render_node_is_surface/texture()
Use gsk_render_node_get_node_type() instead.
Diffstat (limited to 'gsk/gskrendernode.c')
-rw-r--r--gsk/gskrendernode.c16
1 files changed, 0 insertions, 16 deletions
diff --git a/gsk/gskrendernode.c b/gsk/gskrendernode.c
index b660fb0975..4dc12c3a5c 100644
--- a/gsk/gskrendernode.c
+++ b/gsk/gskrendernode.c
@@ -753,22 +753,6 @@ gsk_render_node_update_world_matrix (GskRenderNode *node,
}
}
-gboolean
-gsk_render_node_has_surface (GskRenderNode *node)
-{
- g_return_val_if_fail (GSK_IS_RENDER_NODE (node), FALSE);
-
- return node->surface != NULL;
-}
-
-gboolean
-gsk_render_node_has_texture (GskRenderNode *node)
-{
- g_return_val_if_fail (GSK_IS_RENDER_NODE (node), FALSE);
-
- return node->texture != NULL;
-}
-
GskTexture *
gsk_texture_node_get_texture (GskRenderNode *node)
{