summaryrefslogtreecommitdiff
path: root/gtk/gtkflowbox.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/gtkflowbox.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/gtkflowbox.c')
-rw-r--r--gtk/gtkflowbox.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/gtk/gtkflowbox.c b/gtk/gtkflowbox.c
index 879791bc8f..a37159d32f 100644
--- a/gtk/gtkflowbox.c
+++ b/gtk/gtkflowbox.c
@@ -2348,8 +2348,7 @@ gtk_flow_box_snapshot (GtkWidget *widget,
vertical = priv->orientation == GTK_ORIENTATION_VERTICAL;
cr = gtk_snapshot_append_cairo (snapshot,
- &GRAPHENE_RECT_INIT (x, y, width, height),
- "FlowBox Rubberband");
+ &GRAPHENE_RECT_INIT (x, y, width, height));
context = gtk_widget_get_style_context (widget);
gtk_style_context_save_to_node (context, priv->rubberband_node);