summaryrefslogtreecommitdiff
path: root/gtk/gtkscale.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/gtkscale.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/gtkscale.c')
-rw-r--r--gtk/gtkscale.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/gtk/gtkscale.c b/gtk/gtkscale.c
index baa5c7722e..46afb9e47d 100644
--- a/gtk/gtkscale.c
+++ b/gtk/gtkscale.c
@@ -1758,15 +1758,15 @@ gtk_scale_render_mark_indicator (GtkCssGadget *gadget,
gtk_style_context_get_color (context, &color);
if (orientation == GTK_ORIENTATION_HORIZONTAL)
- gtk_snapshot_append_color_node (snapshot,
- &color,
- &GRAPHENE_RECT_INIT(x + width / 2, y, 1, height),
- "ScaleMark");
+ gtk_snapshot_append_color (snapshot,
+ &color,
+ &GRAPHENE_RECT_INIT(x + width / 2, y, 1, height),
+ "ScaleMark");
else
- gtk_snapshot_append_color_node (snapshot,
- &color,
- &GRAPHENE_RECT_INIT(x, y + height / 2, width, 1),
- "ScaleMark");
+ gtk_snapshot_append_color (snapshot,
+ &color,
+ &GRAPHENE_RECT_INIT(x, y + height / 2, width, 1),
+ "ScaleMark");
gtk_style_context_restore (context);