# HG changeset patch # User Nathan Walp # Date 1069438375 0 # Node ID 59c1cee97cbba04f49c910408603fe12db8606f1 # Parent 4434a1615e021bd051fa9daf02a23f291f0f1acc [gaim-migrate @ 8207] this wasn't used, and leaked memory committer: Tailor Script diff -r 4434a1615e02 -r 59c1cee97cbb src/gtkconv.c --- a/src/gtkconv.c Fri Nov 21 16:19:48 2003 +0000 +++ b/src/gtkconv.c Fri Nov 21 18:12:55 2003 +0000 @@ -4444,7 +4444,6 @@ GaimConvWindow *win; GaimConnection *gc; int gtk_font_options = 0; - GString *log_str; GSList *images = NULL; char buf[BUF_LONG]; char buf2[BUF_LONG]; @@ -4492,9 +4491,6 @@ if (gaim_prefs_get_bool("/gaim/gtk/conversations/ignore_font_sizes")) gtk_font_options ^= GTK_IMHTML_NO_SIZES; - if (!gaim_prefs_get_bool("/gaim/gtk/logging/strip_html")) - gtk_font_options ^= GTK_IMHTML_RETURN_LOG; - if (GAIM_PLUGIN_PROTOCOL_INFO(gaim_find_prpl(gaim_account_get_protocol(conv->account)))->options & OPT_PROTO_USE_POINTSIZE) { gtk_font_options ^= GTK_IMHTML_USE_POINTSIZE; @@ -4619,7 +4615,7 @@ else with_font_tag = g_memdup(new_message, length); - log_str = gtk_imhtml_append_text_with_images(GTK_IMHTML(gtkconv->imhtml), + gtk_imhtml_append_text_with_images(GTK_IMHTML(gtkconv->imhtml), with_font_tag, gtk_font_options, images); gtk_imhtml_append_text(GTK_IMHTML(gtkconv->imhtml), "
", 0);