dnd: Prevent a possible segfault
It is at least theoretically possible that gtk_entry_get_pixel_ranges will return no ranges, and we should handle that without an out-of-bounds access or segfault.
It is at least theoretically possible that gtk_entry_get_pixel_ranges will return no ranges, and we should handle that without an out-of-bounds access or segfault.