Mercurial > pidgin
view doc/notify-signals.dox @ 13693:510b7b7dd645
[gaim-migrate @ 16096]
Part of SF Patch #1437836 from Sadrul
'3. replace a bunch of "if (a) free(a);" with "free(a);"'
My comment in the patch:
"I'm accepting this, even though it doesn't really do much. In the future, however, I would suggest avoiding creating these type of changes unless you're already editing the code directly around them."
committer: Tailor Script <tailor@pidgin.im>
author | Richard Laager <rlaager@wiktel.com> |
---|---|
date | Tue, 25 Apr 2006 17:38:43 +0000 |
parents | 216988c717da |
children | faa6afdcea39 |
line wrap: on
line source
/** @page conversation-signals Notification Signals @signals @signal displaying-userinfo @endsignals @signaldef displaying-userinfo @signalproto void (*displaying_userinfo)(GaimAccount *account, const char *who, char **infotext); @endsignalproto @signaldesc Emitted before userinfo is handed to the UI to display. @a infotext is a pointer to a string, so a plugin can replace the text that will be displayed. @note Make sure to free @a *infotext before you replace it! @param account The account on which the info was obtained. @param who The screen name of the user whose info is to be displayed. @param infotext A pointer to the userinfo text to be displayed. @endsignaldef */ // vim: syntax=c tw=75 et