| 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 **************************************************************************/ |