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:
parent
e1d05acf79
commit
c6ab638191
2 changed files with 7 additions and 2 deletions
|
@ -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.
|
||||
|
|
|
@ -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));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue