# HG changeset patch # User Richard Laager # Date 1146629555 0 # Node ID 6a02f71a305aa01e6d4f4d6df082fc01fe1302c5 # Parent 57a683321bec664455c68788ae5e464453de5472 [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 diff -r 57a683321bec -r 6a02f71a305a src/gtkconv.c --- 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);