Removed depreated glib call