summaryrefslogtreecommitdiff
path: root/gtk/gtkviewport.c
diff options
context:
space:
mode:
authorBenjamin Otte <otte@redhat.com>2018-04-24 03:17:23 +0200
committerBenjamin Otte <otte@redhat.com>2018-04-24 04:06:58 +0200
commit73b4a62f5101473cf585f844579922a0e03c376a (patch)
treee728288a7072b8170e48b126e418353c193389c2 /gtk/gtkviewport.c
parent49f9d2108dbde96d2d5555f737db0183e4002a8a (diff)
downloadgtk+-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/gtkviewport.c')
-rw-r--r--gtk/gtkviewport.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/gtk/gtkviewport.c b/gtk/gtkviewport.c
index fdbfc8a3bf..166ec771c1 100644
--- a/gtk/gtkviewport.c
+++ b/gtk/gtkviewport.c
@@ -513,8 +513,7 @@ gtk_viewport_snapshot (GtkWidget *widget,
&GRAPHENE_RECT_INIT(
0, 0,
gtk_widget_get_width (widget),
- gtk_widget_get_height (widget)),
- "Viewport");
+ gtk_widget_get_height (widget)));
GTK_WIDGET_CLASS (gtk_viewport_parent_class)->snapshot (widget, snapshot);