comparison src/blist.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 eaec201b2688
children 72c9e9bb2c19
comparison
equal deleted inserted replaced
10086:6cd2b467e303 10087:9fdbfe832fac
195 (GDestroyNotify)_gaim_blist_hbuddy_free_key, NULL); 195 (GDestroyNotify)_gaim_blist_hbuddy_free_key, NULL);
196 196
197 if (gbl->ui_ops != NULL && gbl->ui_ops->new_list != NULL) 197 if (gbl->ui_ops != NULL && gbl->ui_ops->new_list != NULL)
198 gbl->ui_ops->new_list(gbl); 198 gbl->ui_ops->new_list(gbl);
199 199
200 gaim_prefs_connect_callback("/core/buddies/use_server_alias", 200 gaim_prefs_connect_callback(gaim_blist_get_handle(), "/core/buddies/use_server_alias",
201 blist_pref_cb, NULL); 201 blist_pref_cb, NULL);
202 202
203 return gbl; 203 return gbl;
204 } 204 }
205 205