diff options
Diffstat (limited to 'gtk/gtkstack.c')
-rw-r--r-- | gtk/gtkstack.c | 3 |
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); |