IMO it'd be cleaner to put this args struct on the stack here, and pass a pointer to it as the user_data for the idle callback, rather than a global variable. It's in the main function and enters gtk_main() below, so the lifetime should be fine.
Good point, done.
--- Reply to this email directly or view it on GitHub: https://github.com/geany/geany/pull/924#issuecomment-190654915