X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=matita%2Fmatita%2FmatitaGui.ml;h=2a1381e3ddd4d8c96625fc95a1fc509ecb5f1ef6;hb=929c84c392a955e8a5f3287fc770227a1dfd5587;hp=7e2b0401bbc41659bc60e8a9f0e1c4735efa6450;hpb=e082eec771e24842f29a01fa258f7c80bc2db599;p=helm.git diff --git a/matita/matita/matitaGui.ml b/matita/matita/matitaGui.ml index 7e2b0401b..2a1381e3d 100644 --- a/matita/matita/matitaGui.ml +++ b/matita/matita/matitaGui.ml @@ -558,9 +558,7 @@ class gui () = let source_view = (s ())#source_view in main#buttonsToolbar#misc#set_sensitive true; main#scriptMenu#misc#set_sensitive true; - source_view#set_editable true; - (*The next line seems sufficient to avoid some unknown race condition *) - GtkThread.sync (fun () -> ()) () + source_view#set_editable true in let worker_thread = ref None in let notify_exn (source_view : GSourceView3.source_view) exn =