glib methods