From: <rl...@us...> - 2006-05-03 04:12:41
|
Revision: 16130 Author: rlaager Date: 2006-05-02 21:12:35 -0700 (Tue, 02 May 2006) ViewCVS: http://svn.sourceforge.net/gaim/?rev=16130&view=rev Log Message: ----------- SF Patch #1480718 Fixes SF Bug #1473246 Close the search window when a conversation is closed, to prevent crashes. Modified Paths: -------------- trunk/src/gtkconv.c Modified: trunk/src/gtkconv.c =================================================================== --- trunk/src/gtkconv.c 2006-05-03 03:04:26 UTC (rev 16129) +++ trunk/src/gtkconv.c 2006-05-03 04:12:35 UTC (rev 16130) @@ -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); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |