contentformats: Make sure 0 elements means the array is NULL
authorBenjamin Otte <otte@redhat.com>
Sat, 11 Dec 2021 22:21:53 +0000 (23:21 +0100)
committerBenjamin Otte <otte@redhat.com>
Sat, 11 Dec 2021 22:21:53 +0000 (23:21 +0100)
commit5fbc510f94e5e1c946131c02158c76dea0f5d715
treed36494c9bee8c22627c32daed6cc2aa04d52976a
parent600ab5ba5fb2ebcc53b5fba6937e66fd7c8bed2f
contentformats: Make sure 0 elements means the array is NULL

Don't return arrays with 0 elements, return NULL.
gdk/gdkcontentformats.c