diff plugins/signals-test.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 e4459e8ccfb5
children 920a37a4c1be
line wrap: on
line diff
--- a/plugins/signals-test.c	Sat Aug 13 18:40:40 2005 +0000
+++ b/plugins/signals-test.c	Sat Aug 13 22:09:34 2005 +0000
@@ -490,8 +490,6 @@
 	void *ciphers_handle = gaim_ciphers_get_handle();
 	void *buddy_icons_handle = gaim_buddy_icons_get_handle();
 
-	gaim_debug_register_category("signals-test");
-
 	/* Accounts subsystem signals */
 	gaim_signal_connect(accounts_handle, "account-connecting",
 						plugin, GAIM_CALLBACK(account_connecting_cb), NULL);
@@ -613,12 +611,6 @@
 	return TRUE;
 }
 
-static gboolean
-plugin_unload(GaimPlugin *plugin)
-{
-	gaim_debug_unregister_category("signals-test");
-}
-
 static GaimPluginInfo info =
 {
 	GAIM_PLUGIN_MAGIC,
@@ -641,7 +633,7 @@
 	GAIM_WEBSITE,                                     /**< homepage       */
 
 	plugin_load,                                      /**< load           */
-	plugin_unload,                                    /**< unload         */
+	NULL,                                             /**< unload         */
 	NULL,                                             /**< destroy        */
 
 	NULL,                                             /**< ui_info        */