aboutsummaryrefslogtreecommitdiff
path: root/ide/undo.ml
diff options
context:
space:
mode:
Diffstat (limited to 'ide/undo.ml')
-rw-r--r--ide/undo.ml3
1 files changed, 1 insertions, 2 deletions
diff --git a/ide/undo.ml b/ide/undo.ml
index 7a62cd558b..d2fe81e1df 100644
--- a/ide/undo.ml
+++ b/ide/undo.ml
@@ -18,7 +18,7 @@ let neg act = match act with
| Insert (s,i,l) -> Delete (s,i,l)
| Delete (s,i,l) -> Insert (s,i,l)
-class undoable_view (tv:([> Gtk.text_view ] as 'a) Gtk.obj) =
+class undoable_view (tv:[>Gtk.text_view] Gtk.obj) =
let undo_lock = ref true in
object(self)
inherit GText.view tv as super
@@ -71,7 +71,6 @@ object(self)
(self#buffer#insert_interactive ~iter s) or
(Stack.push act history; false)
in if r then begin
- process_pending ();
let act = Stack.pop history in
Queue.push act redo;
Stack.push act nredo