diff 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
line wrap: on
line diff
--- a/src/plugin.c	Sun Oct 10 16:47:56 2004 +0000
+++ b/src/plugin.c	Tue Oct 12 00:49:19 2004 +0000
@@ -443,6 +443,8 @@
 	/* I suppose this is the right place to call this... */
 	gaim_signal_emit(gaim_plugins_get_handle(), "plugin-unload", plugin);
 
+	gaim_prefs_disconnect_by_handle(plugin);
+
 	return TRUE;
 #else
 	return TRUE;