forked from AuroraMiddleware/gtk
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
This commit is contained in:
parent
f6a4e68973
commit
3f548327b5
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user