Don't use the deprecated GeditDocument API