Mercurial > pidgin
comparison src/log.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 | 0ac9b01c6837 |
| children | 829a569993e0 |
comparison
equal
deleted
inserted
replaced
| 10086:6cd2b467e303 | 10087:9fdbfe832fac |
|---|---|
| 344 | 344 |
| 345 gaim_prefs_add_string("/core/logging/format", "txt"); | 345 gaim_prefs_add_string("/core/logging/format", "txt"); |
| 346 gaim_log_logger_add(&html_logger); | 346 gaim_log_logger_add(&html_logger); |
| 347 gaim_log_logger_add(&txt_logger); | 347 gaim_log_logger_add(&txt_logger); |
| 348 gaim_log_logger_add(&old_logger); | 348 gaim_log_logger_add(&old_logger); |
| 349 gaim_prefs_connect_callback("/core/logging/format", | 349 gaim_prefs_connect_callback(NULL, "/core/logging/format", |
| 350 logger_pref_cb, NULL); | 350 logger_pref_cb, NULL); |
| 351 gaim_prefs_trigger_callback("/core/logging/format"); | 351 gaim_prefs_trigger_callback("/core/logging/format"); |
| 352 | 352 |
| 353 logsize_users = g_hash_table_new_full((GHashFunc)_gaim_logsize_user_hash, | 353 logsize_users = g_hash_table_new_full((GHashFunc)_gaim_logsize_user_hash, |
| 354 (GEqualFunc)_gaim_logsize_user_equal, | 354 (GEqualFunc)_gaim_logsize_user_equal, |
