gtk4-demo: Fix css_basics demo

This commit is contained in:
Timm Bäder 2020-05-20 10:27:00 +02:00
parent ae54517b33
commit 4b5a8c45b4

View File

@ -97,7 +97,7 @@ do_css_basics (GtkWidget *do_widget)
container = gtk_scrolled_window_new (NULL, NULL);
gtk_window_set_child (GTK_WINDOW (window), container);
child = gtk_text_view_new_with_buffer (text);
gtk_box_append (GTK_BOX (container), child);
gtk_scrolled_window_set_child (GTK_SCROLLED_WINDOW (container), child);
g_signal_connect (text, "changed",
G_CALLBACK (css_text_changed), provider);