GeditDocument: remove unused code
GeditDocument: make set_readonly() static