Mercurial > pidgin.yaz
comparison src/plugin.c @ 10087:9fdbfe832fac
[gaim-migrate @ 11098]
gaim_prefs_connect_callback() now takes a handle that can be used to disconnect
the callbacks later on. The callback id's remain, so people can still use those
if they want, although I'm not sure if there's any need for them any more.
I also switched the order for initializing the prefs subsystem and statically
compiled protocol plugins so that prpl prefs can work for statically compiled
prpls.
committer: Tailor Script <tailor@pidgin.im>
author | Stu Tomlinson <stu@nosnilmot.com> |
---|---|
date | Tue, 12 Oct 2004 00:49:19 +0000 |
parents | f8e395a054e2 |
children | b4efa002dad8 |
comparison
equal
deleted
inserted
replaced
10086:6cd2b467e303 | 10087:9fdbfe832fac |
---|---|
441 unload_cb(plugin, unload_cb_data); | 441 unload_cb(plugin, unload_cb_data); |
442 | 442 |
443 /* I suppose this is the right place to call this... */ | 443 /* I suppose this is the right place to call this... */ |
444 gaim_signal_emit(gaim_plugins_get_handle(), "plugin-unload", plugin); | 444 gaim_signal_emit(gaim_plugins_get_handle(), "plugin-unload", plugin); |
445 | 445 |
446 gaim_prefs_disconnect_by_handle(plugin); | |
447 | |
446 return TRUE; | 448 return TRUE; |
447 #else | 449 #else |
448 return TRUE; | 450 return TRUE; |
449 #endif /* GAIM_PLUGINS */ | 451 #endif /* GAIM_PLUGINS */ |
450 } | 452 } |