dnd: Be safer
authorMatthias Clasen <mclasen@redhat.com>
Tue, 31 Dec 2019 21:03:33 +0000 (16:03 -0500)
committerMatthias Clasen <mclasen@redhat.com>
Wed, 1 Jan 2020 17:51:19 +0000 (12:51 -0500)
commite02fd80adbc8019f30384e0b008104c66c6739bd
treea5c487986845243d9db3df08ddc58eca2342a39c
parent4b818495cab4caf77f87c05c912ccb6702621092
dnd: Be safer

The contents of the selection are documented
to not be NULL if size is non-negative. So
use an empty string instead of NULL for size 0,
avoiding a crash.
gtk/gtkdnd.c