summaryrefslogtreecommitdiff
path: root/gtk/gtkrendericon.c
diff options
context:
space:
mode:
authorBenjamin Otte <otte@redhat.com>2017-01-13 00:39:59 +0100
committerBenjamin Otte <otte@redhat.com>2017-01-13 03:38:36 +0100
commitb58de2d16cbb1b4e8fbdb6aac9d73deb887650e9 (patch)
treefbb9ce909543e5696d9290e1c6d9381d3b36e923 /gtk/gtkrendericon.c
parentbc3ba6864174a905d095a3a57a2cb0889d229d9e (diff)
downloadgtk+-b58de2d16cbb1b4e8fbdb6aac9d73deb887650e9.tar.gz
snapshot: Redo pop() API
gtk_snapshot_pop() => removed gtk_snapshot_pop_and_append() => gtk_snapshot_pop() So now there is no way to get a rendernode out of the snapshotting API until you gtk_snapshot_finish().
Diffstat (limited to 'gtk/gtkrendericon.c')
-rw-r--r--gtk/gtkrendericon.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/gtk/gtkrendericon.c b/gtk/gtkrendericon.c
index 9cf0b6efba..f8c50fa6a4 100644
--- a/gtk/gtkrendericon.c
+++ b/gtk/gtkrendericon.c
@@ -140,12 +140,12 @@ gtk_css_style_snapshot_icon (GtkCssStyle *style,
gtk_css_image_builtin_snapshot (image, snapshot, width, height, builtin_type);
- gtk_snapshot_pop_and_append (snapshot);
+ gtk_snapshot_pop (snapshot);
}
if (shadows)
{
- gtk_snapshot_pop_and_append (snapshot);
+ gtk_snapshot_pop (snapshot);
g_free (shadows);
}
@@ -322,12 +322,12 @@ gtk_css_style_snapshot_icon_texture (GtkCssStyle *style,
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_pop_and_append (snapshot);
+ gtk_snapshot_pop (snapshot);
}
if (shadows)
{
- gtk_snapshot_pop_and_append (snapshot);
+ gtk_snapshot_pop (snapshot);
g_free (shadows);
}