Graph: avoid glib critical.