diff options
author | Matthias Clasen <mclasen@redhat.com> | 2020-05-08 01:05:06 -0400 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2020-05-11 22:21:39 -0400 |
commit | 47139bc506917534e874ad26db23abac188b84c1 (patch) | |
tree | 74876235a8a3b7ae0cb371592acab85f007e3cf9 /gtk/gtktextview.c | |
parent | bf543e0367cdf60bdd32c85065c5cf3d07a854f6 (diff) | |
download | gtk+-47139bc506917534e874ad26db23abac188b84c1.tar.gz |
textviewchild: Derive from GtkWidget
GtkContainer is going away.
Diffstat (limited to 'gtk/gtktextview.c')
-rw-r--r-- | gtk/gtktextview.c | 2 |
1 files changed, 1 insertions, 1 deletions
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)); |