mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2025-01-14 14:20:21 +00:00
textbuffer: Don't serialize the \0 byte
... when converting to text/plain.
This commit is contained in:
parent
4993cde0cb
commit
0fdb33e82a
@ -407,7 +407,7 @@ gtk_text_buffer_serialize_text_plain (GdkContentSerializer *serializer)
|
||||
|
||||
g_output_stream_write_all_async (gdk_content_serializer_get_output_stream (serializer),
|
||||
str,
|
||||
strlen (str) + 1,
|
||||
strlen (str),
|
||||
gdk_content_serializer_get_priority (serializer),
|
||||
gdk_content_serializer_get_cancellable (serializer),
|
||||
gtk_text_buffer_serialize_text_plain_finish,
|
||||
|
Loading…
Reference in New Issue
Block a user