rendernode: Remove unused function

This commit is contained in:
Benjamin Otte 2019-05-25 23:50:46 +02:00
parent 0cd8dd4294
commit fda643952d
2 changed files with 0 additions and 19 deletions

View File

@ -1592,22 +1592,6 @@ gsk_cairo_node_peek_surface (GskRenderNode *node)
return self->surface;
}
GskRenderNode *
gsk_cairo_node_new_for_surface (const graphene_rect_t *bounds,
cairo_surface_t *surface)
{
GskCairoNode *self;
g_return_val_if_fail (bounds != NULL, NULL);
self = (GskCairoNode *) gsk_render_node_new (&GSK_CAIRO_NODE_CLASS, 0);
graphene_rect_init_from_rect (&self->render_node.bounds, bounds);
self->surface = cairo_surface_reference (surface);
return &self->render_node;
}
/**
* gsk_cairo_node_new:
* @bounds: the rectangle to render to

View File

@ -47,9 +47,6 @@ void gsk_render_node_diff_impossible (GskRenderNode *nod
GskRenderNode *node2,
cairo_region_t *region);
GskRenderNode * gsk_cairo_node_new_for_surface (const graphene_rect_t *bounds,
cairo_surface_t *surface);
G_END_DECLS