comparison src/plugin.c @ 11256:bb0d7b719af2

[gaim-migrate @ 13430] I give you regex filtering in the debug window. We keep a buffer of all the text, so when unpausing all the messages that were output when paused will be displayed, as well as when you change the filter. This _should_ be alright on systems that don't have regex.h but I haven't gotten anyone to test it recently, if it's busted, just #ifdef HAVE_REGEX_H it. committer: Tailor Script <tailor@pidgin.im>
author Gary Kramlich <grim@reaperworld.com>
date Sat, 13 Aug 2005 22:09:34 +0000
parents dc6fabb3b645
children 3c88e4519fd1
comparison
equal deleted inserted replaced
11255:1b1d63602d77 11256:bb0d7b719af2
813 813
814 void 814 void
815 gaim_plugins_init(void) { 815 gaim_plugins_init(void) {
816 void *handle = gaim_plugins_get_handle(); 816 void *handle = gaim_plugins_get_handle();
817 817
818 gaim_debug_register_category("plugins");
819
820 gaim_signal_register(handle, "plugin-load", 818 gaim_signal_register(handle, "plugin-load",
821 gaim_marshal_VOID__POINTER, 819 gaim_marshal_VOID__POINTER,
822 NULL, 1, 820 NULL, 1,
823 gaim_value_new(GAIM_TYPE_SUBTYPE, 821 gaim_value_new(GAIM_TYPE_SUBTYPE,
824 GAIM_SUBTYPE_PLUGIN)); 822 GAIM_SUBTYPE_PLUGIN));
830 } 828 }
831 829
832 void 830 void
833 gaim_plugins_uninit(void) { 831 gaim_plugins_uninit(void) {
834 gaim_signals_disconnect_by_handle(gaim_plugins_get_handle()); 832 gaim_signals_disconnect_by_handle(gaim_plugins_get_handle());
835
836 gaim_debug_unregister_category("plugins");
837 } 833 }
838 834
839 /************************************************************************** 835 /**************************************************************************
840 * Plugins API 836 * Plugins API
841 **************************************************************************/ 837 **************************************************************************/