mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-09 18:30:08 +00:00
textview: only snapshot GtkTextViewChild once
This was causing double snapshotting of textview children because the parent snapshot will also iterate and snapshot children.
This commit is contained in:
parent
f432ee775f
commit
bdc43b8fca
@ -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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user