Mercurial > pidgin.yaz
diff src/gtkconv.c @ 13721:6a02f71a305a
[gaim-migrate @ 16130]
SF Patch #1480718
Fixes SF Bug #1473246
Close the search window when a conversation is closed, to prevent crashes.
committer: Tailor Script <tailor@pidgin.im>
author | Richard Laager <rlaager@wiktel.com> |
---|---|
date | Wed, 03 May 2006 04:12:35 +0000 |
parents | 4cf1db3ffada |
children | f3cd05396523 |
line wrap: on
line diff
--- a/src/gtkconv.c Wed May 03 03:04:26 2006 +0000 +++ b/src/gtkconv.c Wed May 03 04:12:35 2006 +0000 @@ -4424,6 +4424,10 @@ gaim_request_close_with_handle(gtkconv); gaim_notify_close_with_handle(gtkconv); + /* Close the "Find" dialog if it's open */ + if (gtkconv->dialogs.search) + gtk_widget_destroy(gtkconv->dialogs.search); + gtk_widget_destroy(gtkconv->tab_cont); g_object_unref(gtkconv->tab_cont);