Fix crash when handling event listeners
Fix crash when handling event listeners

When g_strsplit is called and returns one element, we should not try to write
to the third element in the returned array, since this will be an
invalid write and will likely lead to a crash.

gloob/gloob-s-at-spi2-core,gloob/gloob-s-at-spi2-core,GNOME/at-spi2-core,gloob/gloob-s-at-spi2-core,GNOME/at-spi2-core,GNOME/at-spi2-core