Mercurial > pidgin.yaz
changeset 8685:2ac2f4cf1de5
[gaim-migrate @ 9438]
Patch by Kevin Stange to fix some crashbugs. I believe this was supposed to
go in with marv's patch.
committer: Tailor Script <tailor@pidgin.im>
author | Christian Hammond <chipx86@chipx86.com> |
---|---|
date | Sat, 17 Apr 2004 18:50:46 +0000 |
parents | 046dd8ef2920 |
children | 140b0d020c43 |
files | src/gtkimhtmltoolbar.c |
diffstat | 1 files changed, 12 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/src/gtkimhtmltoolbar.c Sat Apr 17 18:29:20 2004 +0000 +++ b/src/gtkimhtmltoolbar.c Sat Apr 17 18:50:46 2004 +0000 @@ -753,6 +753,18 @@ toolbar->smiley_dialog = NULL; } + if (toolbar->link_dialog != NULL) + { + gaim_request_close(GAIM_REQUEST_FIELDS, toolbar->link_dialog); + toolbar->link_dialog = NULL; + } + + if (toolbar->image_dialog != NULL) + { + gtk_widget_destroy(toolbar->image_dialog); + toolbar->image_dialog = NULL; + } + if (toolbar->sml) free(toolbar->sml); gtk_object_sink(GTK_OBJECT(toolbar->tooltips));