glib funtion definition style fix