mirror of
https://github.com/Ryujinx/GtkSharp.git
synced 2025-03-01 06:16:45 +00:00
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
|
@ -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>
|
2005-10-09 Mike Kestner <mkestner@novell.com>
|
||||||
|
|
||||||
* Makefile.include : reference Mono.Cairo.dll.
|
* Makefile.include : reference Mono.Cairo.dll.
|
||||||
|
|
|
@ -172,14 +172,14 @@ namespace Gtk {
|
||||||
{
|
{
|
||||||
InvokeCB icb = new InvokeCB (d);
|
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)
|
public static void Invoke (object sender, EventArgs args, EventHandler d)
|
||||||
{
|
{
|
||||||
InvokeCB icb = new InvokeCB (d, sender, args);
|
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…
Reference in a new issue