summaryrefslogtreecommitdiff
path: root/gtk/gtkcellrenderertoggle.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/gtkcellrenderertoggle.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/gtkcellrenderertoggle.c')
-rw-r--r--gtk/gtkcellrenderertoggle.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/gtkcellrenderertoggle.c b/gtk/gtkcellrenderertoggle.c
index 7f8dc74b0c..502247436b 100644
--- a/gtk/gtkcellrenderertoggle.c
+++ b/gtk/gtkcellrenderertoggle.c
@@ -465,7 +465,7 @@ gtk_cell_renderer_toggle_snapshot (GtkCellRenderer *cell,
image_type);
gtk_style_context_restore (context);
- gtk_snapshot_pop_and_append (snapshot);
+ gtk_snapshot_pop (snapshot);
}
static gint