Mercurial > pidgin.yaz
comparison src/prpl.h @ 12970:ec9b92104904
[gaim-migrate @ 15323]
Pass the tooltip GString to the prpls. This make the prpl tooltip_text consistent with the drawing-tooltip signal callbacks. It also eliminates a little bit of duplicated code from the prpls. It's also theoretically more efficient, but I'm sure the difference is irrelevant. However, this change will allow me to kill a bunch more duplicated code.
committer: Tailor Script <tailor@pidgin.im>
author | Richard Laager <rlaager@wiktel.com> |
---|---|
date | Fri, 20 Jan 2006 20:35:18 +0000 |
parents | 82e918444965 |
children | a0a4b44239e8 |
comparison
equal
deleted
inserted
replaced
12969:b98a28bf29d9 | 12970:ec9b92104904 |
---|---|
187 * be shown on the buddy list. | 187 * be shown on the buddy list. |
188 */ | 188 */ |
189 char *(*status_text)(GaimBuddy *buddy); | 189 char *(*status_text)(GaimBuddy *buddy); |
190 | 190 |
191 /** | 191 /** |
192 * Gets a string to put in the buddy list tooltip. | 192 * Allows the prpl to add text to a buddy's tooltip. |
193 */ | 193 */ |
194 char *(*tooltip_text)(GaimBuddy *buddy, gboolean full); | 194 void (*tooltip_text)(GaimBuddy *buddy, GString *str, gboolean full); |
195 | 195 |
196 /** | 196 /** |
197 * This must be implemented, and must add at least the offline | 197 * This must be implemented, and must add at least the offline |
198 * and online states. | 198 * and online states. |
199 */ | 199 */ |