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/gtkrendericon.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/gtkrendericon.c')
-rw-r--r-- | gtk/gtkrendericon.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gtk/gtkrendericon.c b/gtk/gtkrendericon.c index f8c50fa6a4..ff7eac978e 100644 --- a/gtk/gtkrendericon.c +++ b/gtk/gtkrendericon.c @@ -305,7 +305,7 @@ gtk_css_style_snapshot_icon_texture (GtkCssStyle *style, 0, 0, gsk_texture_get_width (texture) / texture_scale, gsk_texture_get_height (texture) / texture_scale); - gtk_snapshot_append_texture_node (snapshot, texture, &bounds, "Icon"); + gtk_snapshot_append_texture (snapshot, texture, &bounds, "Icon"); } else { @@ -320,7 +320,7 @@ gtk_css_style_snapshot_icon_texture (GtkCssStyle *style, gtk_snapshot_push_transform (snapshot, &matrix, "Icon Transform"); graphene_rect_init (&bounds, 0, 0, gsk_texture_get_width (texture), gsk_texture_get_height (texture)); - gtk_snapshot_append_texture_node (snapshot, texture, &bounds, "Icon"); + gtk_snapshot_append_texture (snapshot, texture, &bounds, "Icon"); gtk_snapshot_pop (snapshot); } |