Mercurial > pidgin.yaz
comparison libpurple/plugins/mono/GetBuddyBack.cs @ 15539:7ae72b7c02b1
sf patch #1640011, from Celso Pinto
Patch for gaim.spec that fixes dependencies on SUSE
Add line breaks to Evan's NEWS entry
sf patch #1639901, from Saleem Abdulrasool
Fix the build failure of the Mono example dlls due to the
Mono API change
Show "(experimental)" next to the enable-mono option
when calling "./configure --help"
sf patch #1644019, from good ol' Ka-Hing Cheung
"fix compiling on gtk 2.4. xmppconsole.c is the culprit.
gtk_combo_box_get_active_text is defined in gtk 2.6 but not 2.4."
Sun apparently doesn't like when void functions return
the return value from another void function. For example:
void func1(void) {
printf("hi");
}
void func2(void) {
return func1(); /* this line causes a warning */
}
author | Mark Doliner <mark@kingant.net> |
---|---|
date | Sun, 04 Feb 2007 08:46:24 +0000 |
parents | 5fe8042783c1 |
children | 80ee585fb53c |
comparison
equal
deleted
inserted
replaced
15538:3138d800cb42 | 15539:7ae72b7c02b1 |
---|---|
1 using Gaim; | 1 using Gaim; |
2 | 2 |
3 public class GetBuddyBack : GaimPlugin | 3 public class GetBuddyBack : Plugin |
4 { | 4 { |
5 private static PluginInfo info = new PluginInfo("C# Get Buddy Back", "0.1", "Prints when a Buddy returns", "Longer Description", "Eoin Coffey", "urled"); | |
6 | |
7 public GetBuddyBack() | |
8 : base (info) | |
9 { | |
10 } | |
11 | |
5 public void HandleSig(object[] args) | 12 public void HandleSig(object[] args) |
6 { | 13 { |
7 Buddy buddy = (Buddy)args[0]; | 14 Buddy buddy = (Buddy)args[0]; |
8 | 15 |
9 Debug.debug(Debug.INFO, "buddyback", "buddy " + buddy.Name + " is back!\n"); | 16 Debug.debug(Debug.INFO, "buddyback", "buddy " + buddy.Name + " is back!\n"); |
22 } | 29 } |
23 | 30 |
24 public override void Destroy() | 31 public override void Destroy() |
25 { | 32 { |
26 } | 33 } |
27 | |
28 public override GaimPluginInfo Info() | |
29 { | |
30 return new GaimPluginInfo("C# Get Buddy Back", "0.1", "Prints when a Buddy returns", "Longer Description", "Eoin Coffey", "urled"); | |
31 } | |
32 } | 34 } |