diff options
author | Benjamin Otte <otte@redhat.com> | 2018-04-24 03:17:23 +0200 |
---|---|---|
committer | Benjamin Otte <otte@redhat.com> | 2018-04-24 04:06:58 +0200 |
commit | 73b4a62f5101473cf585f844579922a0e03c376a (patch) | |
tree | e728288a7072b8170e48b126e418353c193389c2 /gtk/gtkrendernodepaintable.c | |
parent | 49f9d2108dbde96d2d5555f737db0183e4002a8a (diff) | |
download | gtk+-73b4a62f5101473cf585f844579922a0e03c376a.tar.gz |
snapshot: Redo debug messages
Instead of every snapshot function having debug messages, have an
explicit gtk_snapshot_push_debug() function that appends a debug node.
Diffstat (limited to 'gtk/gtkrendernodepaintable.c')
-rw-r--r-- | gtk/gtkrendernodepaintable.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/gtk/gtkrendernodepaintable.c b/gtk/gtkrendernodepaintable.c index 5ec8160946..0ca586d820 100644 --- a/gtk/gtkrendernodepaintable.c +++ b/gtk/gtkrendernodepaintable.c @@ -57,11 +57,10 @@ gtk_render_node_paintable_paintable_snapshot (GdkPaintable *paintable, height / (self->bounds.size.height), 1.0); gtk_snapshot_push_transform (snapshot, - &transform, - "RenderNodeScaleToFit"); + &transform); } - gtk_snapshot_push_clip (snapshot, &self->bounds, "RenderNodePaintableClip"); + gtk_snapshot_push_clip (snapshot, &self->bounds); gtk_snapshot_offset (snapshot, self->bounds.origin.x, self->bounds.origin.y); gtk_snapshot_append_node (snapshot, self->node); |