Mercurial > pidgin
comparison src/account.c @ 11033:50224ac8184d
[gaim-migrate @ 12919]
Ok, this is debug window filtering. Sadrul was going to do this with a text entry, but I like this better, feel free to disagree with me. It's not the prettiest in a couple places, most notable gtkmain.c where a bunch of categories that don't currently have a home get registered. I added some plugin_(un)load functions to some plugins to place the (un)register functions. Though I didn't do that for the prpls. Comments and cleanups welcome. (Oh, I've been seeing some crashes on quit, but I haven't been able to get it to happen reliably so I'm not sure if it's my code or some transient HEAD oscar/other crash.)
committer: Tailor Script <tailor@pidgin.im>
author | Etan Reisner <pidgin@unreliablesource.net> |
---|---|
date | Tue, 28 Jun 2005 06:13:07 +0000 |
parents | 8d67f04911d6 |
children | a5c31b83063f |
comparison
equal
deleted
inserted
replaced
11032:31c1c48daba1 | 11033:50224ac8184d |
---|---|
1818 void | 1818 void |
1819 gaim_accounts_init(void) | 1819 gaim_accounts_init(void) |
1820 { | 1820 { |
1821 void *handle = gaim_accounts_get_handle(); | 1821 void *handle = gaim_accounts_get_handle(); |
1822 | 1822 |
1823 gaim_debug_register_category("account"); | |
1824 | |
1823 gaim_signal_register(handle, "account-connecting", | 1825 gaim_signal_register(handle, "account-connecting", |
1824 gaim_marshal_VOID__POINTER, NULL, 1, | 1826 gaim_marshal_VOID__POINTER, NULL, 1, |
1825 gaim_value_new(GAIM_TYPE_SUBTYPE, | 1827 gaim_value_new(GAIM_TYPE_SUBTYPE, |
1826 GAIM_SUBTYPE_ACCOUNT)); | 1828 GAIM_SUBTYPE_ACCOUNT)); |
1827 | 1829 |
1872 save_timer = 0; | 1874 save_timer = 0; |
1873 sync_accounts(); | 1875 sync_accounts(); |
1874 } | 1876 } |
1875 | 1877 |
1876 gaim_signals_unregister_by_instance(gaim_accounts_get_handle()); | 1878 gaim_signals_unregister_by_instance(gaim_accounts_get_handle()); |
1877 } | 1879 |
1880 gaim_debug_unregister_category("account"); | |
1881 } |