comparison src/gtkimhtml.c @ 9245:9b138ebf9ca8

[gaim-migrate @ 10044] Timmy Yee noticed this bug and sent a patch. I wonder if there's any bugs in the tracker this closes. committer: Tailor Script <tailor@pidgin.im>
author Tim Ringenbach <marv@pidgin.im>
date Wed, 09 Jun 2004 04:34:25 +0000
parents 395e62cf7bf6
children 46cfbd17ce3e
comparison
equal deleted inserted replaced
9244:e67b8cd33c6c 9245:9b138ebf9ca8
2052 gtk_imhtml_toggle_backcolor(imhtml, NULL); 2052 gtk_imhtml_toggle_backcolor(imhtml, NULL);
2053 g_free (font->back); 2053 g_free (font->back);
2054 } 2054 }
2055 if (font->sml) 2055 if (font->sml)
2056 g_free (font->sml); 2056 g_free (font->sml);
2057 g_free (font);
2058 2057
2059 if ((font->size != 3) && (imhtml->format_functions & (GTK_IMHTML_GROW|GTK_IMHTML_SHRINK))) 2058 if ((font->size != 3) && (imhtml->format_functions & (GTK_IMHTML_GROW|GTK_IMHTML_SHRINK)))
2060 gtk_imhtml_font_set_size(imhtml, 3); 2059 gtk_imhtml_font_set_size(imhtml, 3);
2060
2061 g_free(font);
2061 2062
2062 fonts = fonts->next; 2063 fonts = fonts->next;
2063 if (fonts) { 2064 if (fonts) {
2064 GtkIMHtmlFontDetail *font = fonts->data; 2065 GtkIMHtmlFontDetail *font = fonts->data;
2065 2066