summaryrefslogtreecommitdiff
path: root/gtk/gtkcssstringvalue.c
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2020-10-02 22:31:29 -0400
committerMatthias Clasen <mclasen@redhat.com>2020-10-02 23:40:16 -0400
commita9809b0f67d71cd7bfb1815d368a1fdfd1b3ba8b (patch)
tree8ba90767a6df008214da103883bb459153bab240 /gtk/gtkcssstringvalue.c
parent9033336a2347fe74687cce4912a98cac98105bf6 (diff)
downloadgtk+-a9809b0f67d71cd7bfb1815d368a1fdfd1b3ba8b.tar.gz
Allow inserting newlines in css strings
Rename _gtk_css_print_string to strip the _ and add an insert_newlines argument to it. Update all callers, and make the render node serializer insert newlines.
Diffstat (limited to 'gtk/gtkcssstringvalue.c')
-rw-r--r--gtk/gtkcssstringvalue.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/gtkcssstringvalue.c b/gtk/gtkcssstringvalue.c
index 269a86e717..b72427de11 100644
--- a/gtk/gtkcssstringvalue.c
+++ b/gtk/gtkcssstringvalue.c
@@ -70,7 +70,7 @@ gtk_css_value_string_print (const GtkCssValue *value,
return;
}
- _gtk_css_print_string (str, value->string);
+ gtk_css_print_string (str, value->string, FALSE);
}
static void