| 688 purple_protocols_init(void) |
688 purple_protocols_init(void) |
| 689 { |
689 { |
| 690 void *handle = purple_protocols_get_handle(); |
690 void *handle = purple_protocols_get_handle(); |
| 691 |
691 |
| 692 protocols = g_hash_table_new_full(g_str_hash, g_str_equal, g_free, |
692 protocols = g_hash_table_new_full(g_str_hash, g_str_equal, g_free, |
| 693 (GDestroyNotify)g_object_unref); |
693 g_object_unref); |
| 694 |
694 |
| 695 purple_signal_register(handle, "protocol-added", |
695 purple_signal_register(handle, "protocol-added", |
| 696 purple_marshal_VOID__POINTER, |
696 purple_marshal_VOID__POINTER, |
| 697 G_TYPE_NONE, 1, PURPLE_TYPE_PROTOCOL); |
697 G_TYPE_NONE, 1, PURPLE_TYPE_PROTOCOL); |
| 698 purple_signal_register(handle, "protocol-removed", |
698 purple_signal_register(handle, "protocol-removed", |