pidgin/pidgin

4cb7f3b19ffa
Parents 52e266ba6ecd
Children 173504a1b361
sf patch #1639901, from Saleem Abdulrasool

Fix the build failure of the Mono example dlls due to the
Mono API change
--- a/COPYRIGHT Thu Jan 25 07:54:39 2007 +0000
+++ b/COPYRIGHT Thu Jan 25 08:11:21 2007 +0000
@@ -4,6 +4,7 @@
If you have contributed to Gaim, you deserve to be on this list.
Contact us (see: AUTHORS) and we'll add you.
+Saleem Abdulrasool
Dave Ahlswede
Manuel Amador
Matt Amato
--- a/libgaim/plugins/mono/GetBuddyBack.cs Thu Jan 25 07:54:39 2007 +0000
+++ b/libgaim/plugins/mono/GetBuddyBack.cs Thu Jan 25 08:11:21 2007 +0000
@@ -1,7 +1,14 @@
using Gaim;
-public class GetBuddyBack : GaimPlugin
+public class GetBuddyBack : Plugin
{
+ private static PluginInfo info = new PluginInfo("C# Get Buddy Back", "0.1", "Prints when a Buddy returns", "Longer Description", "Eoin Coffey", "urled");
+
+ public GetBuddyBack()
+ : base (info)
+ {
+ }
+
public void HandleSig(object[] args)
{
Buddy buddy = (Buddy)args[0];
@@ -24,9 +31,4 @@
public override void Destroy()
{
}
-
- public override GaimPluginInfo Info()
- {
- return new GaimPluginInfo("C# Get Buddy Back", "0.1", "Prints when a Buddy returns", "Longer Description", "Eoin Coffey", "urled");
- }
}
--- a/libgaim/plugins/mono/MPlugin.cs Thu Jan 25 07:54:39 2007 +0000
+++ b/libgaim/plugins/mono/MPlugin.cs Thu Jan 25 08:11:21 2007 +0000
@@ -1,7 +1,14 @@
using Gaim;
-public class MPlugin : GaimPlugin
+public class MPlugin : Plugin
{
+ private static PluginInfo info = new PluginInfo("C# Plugin", "0.1", "Test C# Plugin", "Longer Description", "Eoin Coffey", "urled");
+
+ public MPlugin()
+ : base(info)
+ {
+ }
+
public void HandleSig(object[] args)
{
Buddy buddy = (Buddy)args[0];
@@ -28,9 +35,4 @@
{
Debug.debug(Debug.INFO, "mplug", "destroying...\n");
}
-
- public override GaimPluginInfo Info()
- {
- return new GaimPluginInfo("C# Plugin", "0.1", "Test C# Plugin", "Longer Description", "Eoin Coffey", "urled");
- }
}