summaryrefslogtreecommitdiff
path: root/gtk/gtkrenderbackground.c
diff options
context:
space:
mode:
authorBenjamin Otte <otte@redhat.com>2017-01-13 04:46:09 +0100
committerBenjamin Otte <otte@redhat.com>2017-01-13 04:46:09 +0100
commit6055028c9653b01c8623763dac0a213396bc81eb (patch)
tree03b49c37c59bf9ab2f5a96e81a2690ecb013b450 /gtk/gtkrenderbackground.c
parente5e5beafa5b86eeb33e8384942e96e8fcf20c514 (diff)
downloadgtk+-6055028c9653b01c8623763dac0a213396bc81eb.tar.gz
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.
Diffstat (limited to 'gtk/gtkrenderbackground.c')
-rw-r--r--gtk/gtkrenderbackground.c16
1 files changed, 8 insertions, 8 deletions
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);
}
}