changeset 9819:34b468bdc1c5

[gaim-migrate @ 10690] Remove html_logger_create and txt_logger create I didn't remove the create function from the struct thingy because it seems plausible that a logging plugin would want to have a create function, and because it would break any external logging plugins committer: Tailor Script <tailor@pidgin.im>
author Mark Doliner <mark@kingant.net>
date Sun, 22 Aug 2004 17:10:52 +0000
parents 5206fb21e358
children fa8111c03283
files src/log.c
diffstat 1 files changed, 2 insertions(+), 10 deletions(-) [+]
line wrap: on
line diff
--- a/src/log.c	Sun Aug 22 16:16:46 2004 +0000
+++ b/src/log.c	Sun Aug 22 17:10:52 2004 +0000
@@ -667,13 +667,9 @@
 	return g_strdup_printf(_("<font color=\"red\"><b>Could not read file: %s</b></font>"), data->path);
 }
 
-static void html_logger_create(GaimLog *log)
-{
-}
-
 static GaimLogLogger html_logger = {
 	N_("HTML"), "html",
-	html_logger_create,
+	NULL,
 	html_logger_write,
 	html_logger_finalize,
 	html_logger_list,
@@ -803,13 +799,9 @@
 	return g_strdup_printf(_("<font color=\"red\"><b>Could not read file: %s</b></font>"), data->path);
 }
 
-static void txt_logger_create(GaimLog *log)
-{
-}
-
 static GaimLogLogger txt_logger = {
 	N_("Plain text"), "txt",
-	txt_logger_create,
+	NULL,
 	txt_logger_write,
 	txt_logger_finalize,
 	txt_logger_list,