summaryrefslogtreecommitdiff
path: root/gtk/gtksnapshot.c
diff options
context:
space:
mode:
Diffstat (limited to 'gtk/gtksnapshot.c')
-rw-r--r--gtk/gtksnapshot.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/gtk/gtksnapshot.c b/gtk/gtksnapshot.c
index cad6cbd88b..3f3192a1c3 100644
--- a/gtk/gtksnapshot.c
+++ b/gtk/gtksnapshot.c
@@ -111,7 +111,6 @@ gtk_snapshot_init (GtkSnapshot *snapshot,
snapshot->renderer = renderer;
snapshot->clip_region = clip;
snapshot->root = gsk_container_node_new ();
- gsk_render_node_set_bounds (snapshot->root, &GRAPHENE_RECT_INIT (extents.x, extents.y, extents.width, extents.height));
if (name)
{
@@ -176,14 +175,12 @@ gtk_snapshot_push_node (GtkSnapshot *snapshot,
*/
void
gtk_snapshot_push (GtkSnapshot *snapshot,
- const graphene_rect_t *bounds,
const char *name,
...)
{
GskRenderNode *node;
node = gsk_container_node_new ();
- gsk_render_node_set_bounds (node, bounds);
if (name)
{