Port assertions to the glib variant.