On Tuesday 16 February 2010 01:44:01 pm Gwenael Casaccio wrote: > On Friday 12 February 2010 11:55:36 am Paolo Bonzini wrote: > > On 02/12/2010 10:59 AM, Gwenael Casaccio wrote: > > > On Thursday 11 February 2010 11:39:38 am Paolo Bonzini wrote: > > >>> Right now that works well (for example I can launch iLiad without > > >>> any > > >>> > > >>> problem) I should fix the gtk_dialog_run because this function launch > > >>> an inner loop outside the same thread that the main gtk_loop; the two > > >>> loops are locked :D. > > >> > > >> I think it should not be hard to rewrite gtk_dialog_run in Smalltalk, > > >> see > > >> > > >> http://www.google.com/codesearch/p?hl=en#ErvFMsc8kPE/pub/GNOME/sources > > >> /g tk+ /2.6/gtk+-2.6.9.tar.gz|z8d-VbwUHqs/gtk+-2.6.9/gtk/gtkdialog.c > > >> > > >> around line 900. > > > > > > Normally a simple > > > run [ > > > > > > self showAll > > > > > > ] > > > > > > That should be enough ^^ > > > > When it is, the caller should have said "showAll". "Run" is blocking. > > > > Paolo > > Hi, > > you'll find as an attached file the first release of the new gtk event > loop. > > Gwen
we should extend the binding generator to generate thread safe gtk functions (with gdk_threads_enter the gtk_function gdk_threads_leave) Gwen _______________________________________________ help-smalltalk mailing list [email protected] http://lists.gnu.org/mailman/listinfo/help-smalltalk
