Line ending and update to Ubuntu 13.04 (remove g_init_type)