Mercurial > pidgin.yaz
diff src/buddyicon.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 | dd5c802baf7b |
children | 3428ad6f5049 |
line wrap: on
line diff
--- a/src/buddyicon.c Sun Jun 26 01:14:51 2005 +0000 +++ b/src/buddyicon.c Tue Jun 28 06:13:07 2005 +0000 @@ -473,6 +473,8 @@ void gaim_buddy_icons_init() { + gaim_debug_register_category("buddy icons"); + account_cache = g_hash_table_new_full( g_direct_hash, g_direct_equal, NULL, (GFreeFunc)g_hash_table_destroy); @@ -484,7 +486,7 @@ gaim_value_new(GAIM_TYPE_SUBTYPE, GAIM_SUBTYPE_BUDDY_ICON), gaim_value_new(GAIM_TYPE_SUBTYPE, - GAIM_SUBTYPE_BLIST_BUDDY), + GAIM_SUBTYPE_BLIST_BUDDY), gaim_value_new(GAIM_TYPE_STRING), gaim_value_new(GAIM_TYPE_STRING)); } @@ -493,6 +495,8 @@ gaim_buddy_icons_uninit() { g_hash_table_destroy(account_cache); + + gaim_debug_unregister_category("buddy icons"); } void gaim_buddy_icon_get_scale_size(GaimBuddyIconSpec *spec, int *width, int *height)