I think we need to include glib.h here