[gtk/matthiasc/for-master: 4/5] textview: Give attached children a different css name
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/matthiasc/for-master: 4/5] textview: Give attached children a different css name
- Date: Sun, 10 May 2020 13:19:16 +0000 (UTC)
commit cc35e7a4200705dcecd4087750fe36a7fc3f53f0
Author: Matthias Clasen <mclasen redhat com>
Date: Sun May 10 09:14:25 2020 -0400
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
gtk/gtktextviewchild.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
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:
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]