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/gtkcssimageicontheme.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/gtkcssimageicontheme.c')
-rw-r--r-- | gtk/gtkcssimageicontheme.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/gtk/gtkcssimageicontheme.c b/gtk/gtkcssimageicontheme.c index 32bfca025f..d481659a4c 100644 --- a/gtk/gtkcssimageicontheme.c +++ b/gtk/gtkcssimageicontheme.c @@ -111,7 +111,7 @@ gtk_css_image_icon_theme_snapshot (GtkCssImage *image, }); graphene_vec4_init (&offset, fg.red, fg.green, fg.blue, 0); - gtk_snapshot_push_color_matrix (snapshot, &matrix, &offset, "Recolor"); + gtk_snapshot_push_color_matrix (snapshot, &matrix, &offset); } gtk_snapshot_append_texture (snapshot, @@ -121,8 +121,7 @@ gtk_css_image_icon_theme_snapshot (GtkCssImage *image, (height - texture_height) / 2.0, texture_width, texture_height - ), - "CssImageIconTheme<%s@%d>", icon_theme->name, icon_theme->scale); + )); if (symbolic) gtk_snapshot_pop (snapshot); } |