diff plugins/ipc-test-server.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 50224ac8184d
children
line wrap: on
line diff
--- a/plugins/ipc-test-server.c	Sat Aug 13 18:40:40 2005 +0000
+++ b/plugins/ipc-test-server.c	Sat Aug 13 22:09:34 2005 +0000
@@ -44,8 +44,6 @@
 static gboolean
 plugin_load(GaimPlugin *plugin)
 {
-	gaim_debug_register_category("ipc-test-server");
-
 	gaim_plugin_ipc_register(plugin, "add", GAIM_CALLBACK(add_func),
 							 gaim_marshal_INT__INT_INT,
 							 gaim_value_new(GAIM_TYPE_INT), 2,
@@ -61,12 +59,6 @@
 	return TRUE;
 }
 
-static gboolean
-plugin_unload(GaimPlugin *plugin)
-{
-	gaim_debug_unregister_category("ipc-test-server");
-}
-
 static GaimPluginInfo info =
 {
 	GAIM_PLUGIN_MAGIC,
@@ -90,7 +82,7 @@
 	GAIM_WEBSITE,                                     /**< homepage       */
 
 	plugin_load,                                      /**< load           */
-	plugin_unload,                                    /**< unload         */
+	NULL,                                             /**< unload         */
 	NULL,                                             /**< destroy        */
 
 	NULL,                                             /**< ui_info        */