This declaration of gl_play_handle_xevents() triggers an "unused function" warning, and from a quick grep over the codebase, gl_play_handle_xevents() does not seem to be actually defined anywhere.