summaryrefslogtreecommitdiff
path: root/gtk/gtkcellrenderer.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/gtkcellrenderer.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/gtkcellrenderer.c')
-rw-r--r--gtk/gtkcellrenderer.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/gtk/gtkcellrenderer.c b/gtk/gtkcellrenderer.c
index 334ddcaaae..a76474ce42 100644
--- a/gtk/gtkcellrenderer.c
+++ b/gtk/gtkcellrenderer.c
@@ -756,13 +756,13 @@ gtk_cell_renderer_snapshot (GtkCellRenderer *cell,
if (priv->cell_background_set && !selected)
{
- gtk_snapshot_append_color_node (snapshot,
- &priv->cell_background,
- &GRAPHENE_RECT_INIT (
- background_area->x, background_area->y,
- background_area->width, background_area->height
- ),
- "CellBackground");
+ gtk_snapshot_append_color (snapshot,
+ &priv->cell_background,
+ &GRAPHENE_RECT_INIT (
+ background_area->x, background_area->y,
+ background_area->width, background_area->height
+ ),
+ "CellBackground");
}
gtk_snapshot_push_clip (snapshot,