Mercurial > pidgin
annotate plugins/mono/api/BuddyList.cs @ 13343:3e87f0c5287d
[gaim-migrate @ 15713]
SF Patch #1439873 from Sadrul
"Open a conversation with someone in yahoo. Now with the
conversation tab open, disconnect/reconnect or
disable/enable the account a few times. Gaim may crash.
This is because yahoo doesn't set the proto_data of the
connection to NULL after it _close()es the connection.
All other prpls (i looked in msn, oscar, jabber,
sametime) set it to NULL after freeing the data."
committer: Tailor Script <tailor@pidgin.im>
| author | Richard Laager <rlaager@wiktel.com> |
|---|---|
| date | Tue, 28 Feb 2006 01:30:01 +0000 |
| parents | 67fbd2ff4c4e |
| children |
| rev | line source |
|---|---|
| 11660 | 1 using System; |
| 2 using System.Runtime.CompilerServices; | |
| 3 | |
| 4 namespace Gaim | |
| 5 { | |
| 6 public class BuddyList | |
| 7 { | |
| 8 [MethodImplAttribute(MethodImplOptions.InternalCall)] | |
| 9 extern private static IntPtr _get_handle(); | |
| 10 | |
| 11 private static IntPtr handle = _get_handle(); | |
| 12 | |
|
11980
67fbd2ff4c4e
[gaim-migrate @ 14273]
Gary Kramlich <grim@reaperworld.com>
parents:
11660
diff
changeset
|
13 public static Event OnBuddyStatusChanged = new Event(handle, "buddy-status-changed"); |
| 11660 | 14 |
| 15 public static IntPtr GetHandle() | |
| 16 { | |
| 17 return _get_handle(); | |
| 18 } | |
| 19 } | |
| 20 } |
