comparison src/signals.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 0caa9827edf5
children e4459e8ccfb5
comparison
equal deleted inserted replaced
11032:31c1c48daba1 11033:50224ac8184d
564 void 564 void
565 gaim_signals_init() 565 gaim_signals_init()
566 { 566 {
567 g_return_if_fail(instance_table == NULL); 567 g_return_if_fail(instance_table == NULL);
568 568
569 gaim_debug_register_category("signals");
570
569 instance_table = 571 instance_table =
570 g_hash_table_new_full(g_direct_hash, g_direct_equal, 572 g_hash_table_new_full(g_direct_hash, g_direct_equal,
571 NULL, (GDestroyNotify)destroy_instance_data); 573 NULL, (GDestroyNotify)destroy_instance_data);
572 } 574 }
573 575
576 { 578 {
577 g_return_if_fail(instance_table != NULL); 579 g_return_if_fail(instance_table != NULL);
578 580
579 g_hash_table_destroy(instance_table); 581 g_hash_table_destroy(instance_table);
580 instance_table = NULL; 582 instance_table = NULL;
583
584 gaim_debug_unregister_category("signals");
581 } 585 }
582 586
583 /************************************************************************** 587 /**************************************************************************
584 * Marshallers 588 * Marshallers
585 **************************************************************************/ 589 **************************************************************************/