diff --git a/src/ControlWindow.vala b/src/ControlWindow.vala index ac95eb1..d63833e 100644 --- a/src/ControlWindow.vala +++ b/src/ControlWindow.vala @@ -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; } }