2005-10-08 Miguel de Icaza <miguel@novell.com>

* gtk/Application.cs (Invoke): Use Timeout instead of Idle add to
	trigger the event on the Gtk thread.

svn path=/trunk/gtk-sharp/; revision=51851
This commit is contained in:
Miguel de Icaza 2005-10-18 02:46:31 +00:00
parent e1d05acf79
commit c6ab638191
2 changed files with 7 additions and 2 deletions

View File

@ -1,3 +1,8 @@
2005-10-08 Miguel de Icaza <miguel@novell.com>
* gtk/Application.cs (Invoke): Use Timeout instead of Idle add to
trigger the event on the Gtk thread.
2005-10-09 Mike Kestner <mkestner@novell.com>
* Makefile.include : reference Mono.Cairo.dll.

View File

@ -172,14 +172,14 @@ namespace Gtk {
{
InvokeCB icb = new InvokeCB (d);
GLib.Idle.Add (new GLib.IdleHandler (icb.Invoke));
GLib.Timeout.Add (0, new GLib.TimeoutHandler (icb.Invoke));
}
public static void Invoke (object sender, EventArgs args, EventHandler d)
{
InvokeCB icb = new InvokeCB (d, sender, args);
GLib.Idle.Add (new GLib.IdleHandler (icb.Invoke));
GLib.Timeout.Add (0, new GLib.TimeoutHandler (icb.Invoke));
}
}
}