forked from AuroraMiddleware/gtk
rendernode: Remove unused function
This commit is contained in:
parent
0cd8dd4294
commit
fda643952d
@ -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
|
||||
|
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user