Merge branch 'wip/otte/for-master' into 'master'

contentserializer: Don't send the terminating \0 byte for strings

Closes #3150

See merge request GNOME/gtk!2560
This commit is contained in:
Matthias Clasen 2020-09-11 15:50:23 +00:00
commit c3b925d696

View File

@ -681,7 +681,7 @@ string_serializer (GdkContentSerializer *serializer)
g_output_stream_write_all_async (filter,
text,
strlen (text) + 1,
strlen (text),
gdk_content_serializer_get_priority (serializer),
gdk_content_serializer_get_cancellable (serializer),
string_serializer_finish,