From 47139bc506917534e874ad26db23abac188b84c1 Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Fri, 8 May 2020 01:05:06 -0400 Subject: textviewchild: Derive from GtkWidget GtkContainer is going away. --- gtk/gtktextview.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gtk/gtktextview.c') diff --git a/gtk/gtktextview.c b/gtk/gtktextview.c index a3b8a45ba9..1dfae54ddc 100644 --- a/gtk/gtktextview.c +++ b/gtk/gtktextview.c @@ -4391,7 +4391,7 @@ gtk_text_view_set_gutter (GtkTextView *text_view, return; new_child = GTK_TEXT_VIEW_CHILD (gtk_text_view_child_new (win)); - gtk_container_add (GTK_CONTAINER (new_child), widget); + gtk_text_view_child_add (new_child, widget); *childp = g_object_ref (new_child); gtk_widget_set_parent (GTK_WIDGET (new_child), GTK_WIDGET (text_view)); -- cgit v1.2.1