Simplify NotesView

master
Sebastian Reichel 2012-01-17 15:12:36 +01:00
parent b427b77ed7
commit 13f05246b5
1 changed files with 1 additions and 8 deletions

View File

@ -169,15 +169,8 @@ class ControlView : DrawingArea {
}
class NotesView : TextView {
TextBuffer buffer;
public NotesView() {
buffer = new TextBuffer(null);
set_buffer(buffer);
}
public void set_text(string text) {
buffer.set_text(text, (int) text.length);
buffer.text = text;
}
}