Mercurial > pidgin.yaz
annotate doc/plugin-signals.dox @ 13421:2ec69a9763a5
[gaim-migrate @ 15796]
Resolve CID 16:
Event var_compare_op: Added "gc" due to comparison "gc != 0"
126 if (gc != NULL && gc->prpl != NULL)
127 prpl_info = GAIM_PLUGIN_PROTOCOL_INFO(gc->prpl);
Event var_deref_op: Variable "gc" tracked as NULL was dereferenced.
132 conv = gaim_find_conversation_with_account(GAIM_CONV_TYPE_IM, name, gc->account);
I've changed the gc and gc->prpl NULL checks into a g_return_if_fail().
committer: Tailor Script <tailor@pidgin.im>
author | Richard Laager <rlaager@wiktel.com> |
---|---|
date | Tue, 07 Mar 2006 02:15:36 +0000 |
parents | 1ec93dd2f359 |
children | 8cf53d7a0887 |
rev | line source |
---|---|
12053 | 1 /** @page plugin-signals Plugin Signals |
2 | |
3 @signals | |
4 @signal plugin-load | |
5 @signal plugin-unload | |
6 @endsignals | |
7 | |
8 <hr> | |
9 | |
10 @signaldef plugin-load | |
11 @signalproto | |
12 void (*plugin_load)(GaimPlugin *plugin); | |
13 @endsignalproto | |
14 @signaldesc | |
15 Emitted when a plugin is loaded. | |
16 @param plugin The plugin that was loaded. | |
17 @endsignaldef | |
18 | |
19 @signaldef plugin-unload | |
20 @signalproto | |
21 void (*plugin_unload)(GaimPlugin *plugin); | |
22 @endsignalproto | |
23 @signaldesc | |
24 Emitted when a plugin is unloaded. | |
25 @param plugin The plugin that was unloaded. | |
26 @endsignaldef | |
27 | |
28 */ | |
29 // vim: syntax=c tw=75 et |