diff --git a/gtk/gtkoverlay.c b/gtk/gtkoverlay.c index 10fc2a8250..86b2004f2e 100644 --- a/gtk/gtkoverlay.c +++ b/gtk/gtkoverlay.c @@ -722,9 +722,7 @@ gtk_overlay_snapshot (GtkWidget *widget, GtkSnapshot *child_snapshot; child_snapshot = gtk_snapshot_new (); - gtk_snapshot_offset (child_snapshot, main_alloc.x, main_alloc.y); gtk_widget_snapshot (main_widget, child_snapshot); - gtk_snapshot_offset (child_snapshot, -main_alloc.x, -main_alloc.y); main_widget_node = gtk_snapshot_free_to_node (child_snapshot); }