removed this function which was not publically exported in glib.h. to