[COMMIT] Split out stuff that has become X- or GTK-specific, post GTK-1.2.