Fix return type of init idle handler

The return type of a GSourceFunc is a gboolean.