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:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user