clipboard: Make sure G_TYPE_STRING is nul-terminated
When reading text, we need to check we terminate the G_TYPE_STRING string with a null byte, because the clipboard does not guarantee one.
So just append a \0 to the stream.
Fixes #3899 (closed)
When reading text, we need to check we terminate the G_TYPE_STRING string with a null byte, because the clipboard does not guarantee one.
So just append a \0 to the stream.
Fixes #3899 (closed)