Mercurial > pidgin
comparison src/gtkimhtmltoolbar.c @ 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 | cc2ce209cc46 |
children | 67f733c1cff8 |
comparison
equal
deleted
inserted
replaced
8684:046dd8ef2920 | 8685:2ac2f4cf1de5 |
---|---|
751 { | 751 { |
752 gtk_widget_destroy(toolbar->smiley_dialog); | 752 gtk_widget_destroy(toolbar->smiley_dialog); |
753 toolbar->smiley_dialog = NULL; | 753 toolbar->smiley_dialog = NULL; |
754 } | 754 } |
755 | 755 |
756 if (toolbar->link_dialog != NULL) | |
757 { | |
758 gaim_request_close(GAIM_REQUEST_FIELDS, toolbar->link_dialog); | |
759 toolbar->link_dialog = NULL; | |
760 } | |
761 | |
762 if (toolbar->image_dialog != NULL) | |
763 { | |
764 gtk_widget_destroy(toolbar->image_dialog); | |
765 toolbar->image_dialog = NULL; | |
766 } | |
767 | |
756 if (toolbar->sml) | 768 if (toolbar->sml) |
757 free(toolbar->sml); | 769 free(toolbar->sml); |
758 gtk_object_sink(GTK_OBJECT(toolbar->tooltips)); | 770 gtk_object_sink(GTK_OBJECT(toolbar->tooltips)); |
759 | 771 |
760 G_OBJECT_CLASS(parent_class)->finalize (object); | 772 G_OBJECT_CLASS(parent_class)->finalize (object); |