remove direct dependency of glib