diff options
author | Matthias Clasen <mclasen@redhat.com> | 2020-05-10 09:14:25 -0400 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2020-05-10 16:25:28 -0400 |
commit | 3f548327b56d5751b2d9899ee9a3ed8ba4793afe (patch) | |
tree | 4ec2532d79cc53ac0b648954d7ed191e80db1077 /gtk | |
parent | f6a4e68973fcf78504e320453c576abb789d9e03 (diff) | |
download | gtk+-3f548327b56d5751b2d9899ee9a3ed8ba4793afe.tar.gz |
textview: Give attached children a different css name
If we use "text" for the children that are attached to the
text view, they end up rendering the same background as the
main text content, causing that content to be covered up.
Fixes: #2729
Diffstat (limited to 'gtk')
-rw-r--r-- | gtk/gtktextviewchild.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/gtktextviewchild.c b/gtk/gtktextviewchild.c index a51ddfe3ac..1462f3ecbd 100644 --- a/gtk/gtktextviewchild.c +++ b/gtk/gtktextviewchild.c @@ -326,7 +326,7 @@ gtk_text_view_child_constructed (GObject *object) break; case GTK_TEXT_WINDOW_TEXT: - gtk_css_node_set_name (css_node, g_quark_from_static_string ("text")); + gtk_css_node_set_name (css_node, g_quark_from_static_string ("child")); break; case GTK_TEXT_WINDOW_WIDGET: |