glib2: use GObject for GType