Mercurial > pidgin
changeset 7953:959ae45dd0c5
[gaim-migrate @ 8628]
Ka-Hing Cheung fixed the crap out of the bug where
gtk_imhtml_hr_scale causes a crash if you have an
away message with an HR and you look at it
twice in the preferences thing.
Beautimous!
committer: Tailor Script <tailor@pidgin.im>
author | Mark Doliner <mark@kingant.net> |
---|---|
date | Mon, 29 Dec 2003 07:12:23 +0000 |
parents | fb66c2ee4446 |
children | 6dc91824d8d4 |
files | src/gtkimhtml.c |
diffstat | 1 files changed, 10 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/gtkimhtml.c Mon Dec 29 06:48:11 2003 +0000 +++ b/src/gtkimhtml.c Mon Dec 29 07:12:23 2003 +0000 @@ -1699,6 +1699,16 @@ imhtml->format_spans = imhtml->format_spans->next; } g_list_free(del); + + del = imhtml->scalables; + while (del) { + GtkIMHtmlScalable *scale = del->data; + scale->free(scale); + del = del->next; + } + g_list_free(imhtml->scalables); + imhtml->scalables = NULL; + imhtml->edit.bold = NULL; imhtml->edit.italic = NULL; imhtml->edit.underline = NULL; @@ -2556,7 +2566,6 @@ char *gtk_imhtml_get_markup(GtkIMHtml *imhtml) { - char *text; GtkTextIter start, end; gtk_text_buffer_get_start_iter(imhtml->text_buffer, &start);