Mercurial > pidgin
view doc/notify-signals.dox @ 16261:f1c2ff731fd9
Fix use before initialization and use after freeing (This is still not being used, but I figured I'd fix the stuff that I noticed).
author | Daniel Atallah <daniel.atallah@gmail.com> |
---|---|
date | Thu, 19 Apr 2007 13:32:48 +0000 |
parents | 8cf53d7a0887 |
children | 2177a11e169d |
line wrap: on
line source
/** @page conversation-signals Notification Signals @signals @signal displaying-userinfo @endsignals @signaldef displaying-userinfo @signalproto void (*displaying_userinfo)(PurpleAccount *account, const char *who, PurpleNotifyUserInfo *user_info); @endsignalproto @signaldesc Emitted before userinfo is handed to the UI to display. @a user_info can be manipulated via the PurpleNotifyUserInfo API in notify.c. @note If adding a PurpleNotifyUserInfoEntry, be sure not to free it -- PurpleNotifyUserInfo assumes responsibility for its objects. @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 user_info The information to be displayed, as PurpleNotifyUserInfoEntry objects @endsignaldef */ // vim: syntax=c tw=75 et