summaryrefslogtreecommitdiff
path: root/gtk/gtkstack.c
diff options
context:
space:
mode:
authorBenjamin Otte <otte@redhat.com>2018-03-24 21:41:53 +0100
committerBenjamin Otte <otte@redhat.com>2018-03-24 21:57:20 +0100
commit1cfa88ed913e795a88214a87388801d2850fa75e (patch)
tree9fcc62bf9dcf622cfe1afd9e405098b3111db157 /gtk/gtkstack.c
parente84c6acc4fcced6065d494a20c1feae88877d6c0 (diff)
downloadgtk+-1cfa88ed913e795a88214a87388801d2850fa75e.tar.gz
snapshot: Remove renderer
Now that there's no longer a need to keep the renderer around for Cairo rendering, don't do that then.
Diffstat (limited to 'gtk/gtkstack.c')
-rw-r--r--gtk/gtkstack.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/gtk/gtkstack.c b/gtk/gtkstack.c
index 22efd3250e..a5c46ba2cf 100644
--- a/gtk/gtkstack.c
+++ b/gtk/gtkstack.c
@@ -1956,8 +1956,7 @@ gtk_stack_snapshot (GtkWidget *widget,
gtk_widget_get_allocation (priv->last_visible_child->widget,
&priv->last_visible_surface_allocation);
- last_visible_snapshot = gtk_snapshot_new (gtk_snapshot_get_renderer (snapshot),
- gtk_snapshot_get_record_names (snapshot),
+ last_visible_snapshot = gtk_snapshot_new (gtk_snapshot_get_record_names (snapshot),
NULL,
"StackCaptureLastVisibleChild");
gtk_widget_snapshot (priv->last_visible_child->widget, last_visible_snapshot);