diff options
author | Benjamin Otte <otte@redhat.com> | 2017-01-13 04:46:09 +0100 |
---|---|---|
committer | Benjamin Otte <otte@redhat.com> | 2017-01-13 04:46:09 +0100 |
commit | 6055028c9653b01c8623763dac0a213396bc81eb (patch) | |
tree | 03b49c37c59bf9ab2f5a96e81a2690ecb013b450 /gtk/gtkcssimage.c | |
parent | e5e5beafa5b86eeb33e8384942e96e8fcf20c514 (diff) | |
download | gtk+-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/gtkcssimage.c')
-rw-r--r-- | gtk/gtkcssimage.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gtk/gtkcssimage.c b/gtk/gtkcssimage.c index 822ba4726f..bcf22f8ce4 100644 --- a/gtk/gtkcssimage.c +++ b/gtk/gtkcssimage.c @@ -126,9 +126,9 @@ gtk_css_image_real_snapshot (GtkCssImage *image, { cairo_t *cr; - cr = gtk_snapshot_append_cairo_node (snapshot, - &GRAPHENE_RECT_INIT (0, 0, width, height), - "Fallback<%s>", G_OBJECT_TYPE_NAME (image)); + cr = gtk_snapshot_append_cairo (snapshot, + &GRAPHENE_RECT_INIT (0, 0, width, height), + "Fallback<%s>", G_OBJECT_TYPE_NAME (image)); _gtk_css_image_draw (image, cr, width, height); cairo_destroy (cr); } |