Merge branch 'wip/chergert/fix-textviewchild-double-draw' into 'main'

textview: only snapshot GtkTextViewChild once

See merge request GNOME/gtk!6984
This commit is contained in:
Matthias Clasen 2024-03-05 21:37:37 +00:00
commit f2a3218455

View File

@ -254,8 +254,6 @@ gtk_text_view_child_snapshot (GtkWidget *widget,
GtkTextViewChild *self = GTK_TEXT_VIEW_CHILD (widget);
const GList *iter;
GTK_WIDGET_CLASS (gtk_text_view_child_parent_class)->snapshot (widget, snapshot);
if (self->child)
gtk_widget_snapshot_child (widget, self->child, snapshot);