macos: Fix clipboard data size handling
authorMatthias Clasen <mclasen@redhat.com>
Mon, 17 Oct 2022 03:45:28 +0000 (23:45 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Mon, 17 Oct 2022 03:45:28 +0000 (23:45 -0400)
commit6f5d18a9f5c5ce28ed3bed98365967565dfa8b94
treee249f1cb1a5ead6902bfff5104a7783b3e79b8c9
parent004f22a51ccedc37ae842e81c50be05296250988
macos: Fix clipboard data size handling

We were using the allocated memory size, not
the amount of data that has been written.

Fixes: #5261
gdk/macos/gdkmacosclipboard.c