Removed deprecated glib call