diff src/gtkconv.c @ 7095:c8bf2da398e3

[gaim-migrate @ 7660] html.[ch] is gone. Everything inside was namespaced and put in util.[ch]. One less ugly part of gaim in the tree. committer: Tailor Script <tailor@pidgin.im>
author Christian Hammond <chipx86@chipx86.com>
date Wed, 01 Oct 2003 03:43:18 +0000
parents 04f9f7440bc3
children 9220c7490cd1
line wrap: on
line diff
--- a/src/gtkconv.c	Wed Oct 01 03:01:25 2003 +0000
+++ b/src/gtkconv.c	Wed Oct 01 03:43:18 2003 +0000
@@ -33,7 +33,6 @@
 #include <locale.h>
 
 #include "debug.h"
-#include "html.h"
 #include "imgstore.h"
 #include "log.h"
 #include "multi.h"
@@ -4388,7 +4387,7 @@
 		gtk_imhtml_append_text_with_images(GTK_IMHTML(gtkconv->imhtml), buf2, 0, images);
 
 		if (gaim_prefs_get_bool("/gaim/gtk/logging/strip_html")) {
-			char *t1 = strip_html(buf);
+			char *t1 = gaim_markup_strip_html(buf);
 
 			conv->history = g_string_append(conv->history, t1);
 			conv->history = g_string_append(conv->history, "\n");
@@ -4406,7 +4405,7 @@
 			char nm[256];
 
 			if (gaim_prefs_get_bool("/gaim/gtk/logging/strip_html"))
-				t1 = strip_html(buf);
+				t1 = gaim_markup_strip_html(buf);
 			else
 				t1 = buf;
 
@@ -4544,8 +4543,8 @@
 		if (gaim_prefs_get_bool("/gaim/gtk/logging/strip_html")) {
 			char *t1, *t2;
 
-			t1 = strip_html(buf);
-			t2 = strip_html(new_message);
+			t1 = gaim_markup_strip_html(buf);
+			t2 = gaim_markup_strip_html(new_message);
 
 			conv->history = g_string_append(conv->history, t1);
 			conv->history = g_string_append(conv->history, t2);
@@ -4581,8 +4580,8 @@
 				strncpy(nm, gaim_conversation_get_name(conv), sizeof(nm));
 
 			if (gaim_prefs_get_bool("/gaim/gtk/logging/strip_html")) {
-				t1 = strip_html(buf);
-				t2 = strip_html(with_font_tag);
+				t1 = gaim_markup_strip_html(buf);
+				t2 = gaim_markup_strip_html(with_font_tag);
 			}
 			else {
 				t1 = html_logize(buf);