comparison src/blist.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 1ce8013f5642
children 3428ad6f5049
comparison
equal deleted inserted replaced
11032:31c1c48daba1 11033:50224ac8184d
2548 void 2548 void
2549 gaim_blist_init(void) 2549 gaim_blist_init(void)
2550 { 2550 {
2551 void *handle = gaim_blist_get_handle(); 2551 void *handle = gaim_blist_get_handle();
2552 2552
2553 gaim_debug_register_category("blist");
2554
2553 gaim_signal_register(handle, "buddy-away", 2555 gaim_signal_register(handle, "buddy-away",
2554 gaim_marshal_VOID__POINTER, NULL, 1, 2556 gaim_marshal_VOID__POINTER, NULL, 1,
2555 gaim_value_new(GAIM_TYPE_SUBTYPE, 2557 gaim_value_new(GAIM_TYPE_SUBTYPE,
2556 GAIM_SUBTYPE_BLIST_BUDDY)); 2558 GAIM_SUBTYPE_BLIST_BUDDY));
2557 2559
2601 save_timer = 0; 2603 save_timer = 0;
2602 gaim_blist_sync(); 2604 gaim_blist_sync();
2603 } 2605 }
2604 2606
2605 gaim_signals_unregister_by_instance(gaim_blist_get_handle()); 2607 gaim_signals_unregister_by_instance(gaim_blist_get_handle());
2606 } 2608
2609 gaim_debug_unregister_category("blist");
2610 }