Builder/RightEditor.js
authorAlan Knowles <alan@akbkhome.com>
Tue, 4 May 2010 10:06:20 +0000 (18:06 +0800)
committerAlan Knowles <alan@akbkhome.com>
Tue, 4 May 2010 10:06:20 +0000 (18:06 +0800)
Builder/RightEditor.js

index 8cb2074..c12ecb5 100755 (executable)
@@ -30,7 +30,7 @@ RightEditor = new XObject({
                 init : function() {
                     XObject.prototype.init.call(this); 
                     var _this = this;
-                    this.buffer =new GtkSource.Buffer();
+                    this.set_buffer (new GtkSource.Buffer());
                     this.el.get_buffer().signal.changed.connect(function() {
                             var s = new Gtk.TextIter();
                             var e = new Gtk.TextIter();