Removed deprecated Glib functions