this ought to help resolve some crashes in at least evolution and anjuta hinted by ajacoutot@, thanks :)