Mercurial > pidgin.yaz
comparison src/status.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 | ffb30c2e82cb |
children | 744c0708d11f |
comparison
equal
deleted
inserted
replaced
11032:31c1c48daba1 | 11033:50224ac8184d |
---|---|
1681 void | 1681 void |
1682 gaim_status_init(void) | 1682 gaim_status_init(void) |
1683 { | 1683 { |
1684 void *handle = gaim_status_get_handle; | 1684 void *handle = gaim_status_get_handle; |
1685 | 1685 |
1686 gaim_debug_register_category("status"); | |
1687 | |
1686 gaim_prefs_add_none("/core/status"); | 1688 gaim_prefs_add_none("/core/status"); |
1687 gaim_prefs_add_none("/core/status/scores"); | 1689 gaim_prefs_add_none("/core/status/scores"); |
1688 | 1690 |
1689 gaim_prefs_add_int("/core/status/scores/offline", | 1691 gaim_prefs_add_int("/core/status/scores/offline", |
1690 primitive_scores[GAIM_STATUS_OFFLINE]); | 1692 primitive_scores[GAIM_STATUS_OFFLINE]); |
1730 { | 1732 { |
1731 g_hash_table_destroy(buddy_presences); | 1733 g_hash_table_destroy(buddy_presences); |
1732 | 1734 |
1733 buddy_presences = NULL; | 1735 buddy_presences = NULL; |
1734 } | 1736 } |
1735 } | 1737 |
1738 gaim_debug_unregister_category("status"); | |
1739 } |