GeditDocument: fix bug with content type