use gobject methods instead of glib methods