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/gtkcellrenderertext.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/gtkcellrenderertext.c')
-rw-r--r-- | gtk/gtkcellrenderertext.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/gtk/gtkcellrenderertext.c b/gtk/gtkcellrenderertext.c index 58c7367407..1e46ea0c56 100644 --- a/gtk/gtkcellrenderertext.c +++ b/gtk/gtkcellrenderertext.c @@ -1730,8 +1730,7 @@ gtk_cell_renderer_text_snapshot (GtkCellRenderer *cell, &GRAPHENE_RECT_INIT( background_area->x, background_area->y, background_area->width, background_area->height - ), - "CellTextBackground"); + )); } gtk_cell_renderer_get_padding (cell, &xpad, &ypad); @@ -1749,8 +1748,7 @@ gtk_cell_renderer_text_snapshot (GtkCellRenderer *cell, &GRAPHENE_RECT_INIT( cell_area->x, cell_area->y, cell_area->width, cell_area->height - ), - "CellTextClip"); + )); gtk_snapshot_render_layout (snapshot, context, cell_area->x + x_offset + xpad, |