diff options
author | Matthias Clasen <mclasen@redhat.com> | 2020-10-02 22:31:29 -0400 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2020-10-02 23:40:16 -0400 |
commit | a9809b0f67d71cd7bfb1815d368a1fdfd1b3ba8b (patch) | |
tree | 8ba90767a6df008214da103883bb459153bab240 /gsk/gskrendernodeparser.c | |
parent | 9033336a2347fe74687cce4912a98cac98105bf6 (diff) | |
download | gtk+-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 'gsk/gskrendernodeparser.c')
-rw-r--r-- | gsk/gskrendernodeparser.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gsk/gskrendernodeparser.c b/gsk/gskrendernodeparser.c index 06d1bdb4d2..c07b749bf6 100644 --- a/gsk/gskrendernodeparser.c +++ b/gsk/gskrendernodeparser.c @@ -2126,7 +2126,7 @@ append_string_param (Printer *p, { _indent (p); g_string_append_printf (p->str, "%s: ", param_name); - _gtk_css_print_string (p->str, value); + gtk_css_print_string (p->str, value, TRUE); g_string_append_c (p->str, ';'); g_string_append_c (p->str, '\n'); } |