Mercurial > pidgin
view plugins/mono/api/BuddyList.cs @ 13434:ffd724befbf8
[gaim-migrate @ 15809]
Cleanup the busy cursor handling code to eliminate a bunch of these loops:
while (gtk_events_pending())
gtk_main_iteration();
They seem like a race condition waiting to happen. This code is also simpler,
and more generic.
This leaves only one such loop, in src/gtkblist.c's gaim_gtk_blist_expand_contact_cb().
committer: Tailor Script <tailor@pidgin.im>
| author | Richard Laager <rlaager@wiktel.com> |
|---|---|
| date | Tue, 07 Mar 2006 05:48:54 +0000 |
| parents | 67fbd2ff4c4e |
| children |
line wrap: on
line source
using System; using System.Runtime.CompilerServices; namespace Gaim { public class BuddyList { [MethodImplAttribute(MethodImplOptions.InternalCall)] extern private static IntPtr _get_handle(); private static IntPtr handle = _get_handle(); public static Event OnBuddyStatusChanged = new Event(handle, "buddy-status-changed"); public static IntPtr GetHandle() { return _get_handle(); } } }
