From 6055028c9653b01c8623763dac0a213396bc81eb Mon Sep 17 00:00:00 2001 From: Benjamin Otte Date: Fri, 13 Jan 2017 04:46:09 +0100 Subject: snapshot: Rename append APIs Instead of having gtk_snapshot_append_foo_node(), just have gtk_snapshot_append_foo(). Nobody needs to know that this internally uses nodes. --- gtk/gtkrenderbackground.c | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'gtk/gtkrenderbackground.c') diff --git a/gtk/gtkrenderbackground.c b/gtk/gtkrenderbackground.c index bca7dc13f7..b7a46bd7af 100644 --- a/gtk/gtkrenderbackground.c +++ b/gtk/gtkrenderbackground.c @@ -91,20 +91,20 @@ gtk_theming_background_snapshot_color (GtkThemingBackground *bg, if (gsk_rounded_rect_is_rectilinear (&bg->boxes[clip])) { - gtk_snapshot_append_color_node (snapshot, - bg_color, - &bg->boxes[clip].bounds, - "BackgroundColor"); + gtk_snapshot_append_color (snapshot, + bg_color, + &bg->boxes[clip].bounds, + "BackgroundColor"); } else { gtk_snapshot_push_rounded_clip (snapshot, &bg->boxes[clip], "BackgroundColorClip"); - gtk_snapshot_append_color_node (snapshot, - bg_color, - &bg->boxes[clip].bounds, - "BackgroundColor"); + gtk_snapshot_append_color (snapshot, + bg_color, + &bg->boxes[clip].bounds, + "BackgroundColor"); gtk_snapshot_pop (snapshot); } } -- cgit v1.2.1