changeset 11849:dc51cdcb648e

[gaim-migrate @ 14140] sf patch #1339135, from Sadrul Habib Chowdhury Hi. Bleeter found this bug: (1) open up some conversation window (2) open the smiley dialog (3) close the conversation window. the smiley dialog remains open (4) select some smiley (5) Gaim crashes This patch fixes this crash. It shouldn't cause any probs with regards to gtk-version-checking. The other code handling the smiley-dialog doesn't do the version-checking, so this shouldn't be necessary either. committer: Tailor Script <tailor@pidgin.im>
author Mark Doliner <mark@kingant.net>
date Thu, 27 Oct 2005 12:00:17 +0000
parents 434181b96f44
children 0d793b594a23
files src/gtkimhtmltoolbar.c
diffstat 1 files changed, 0 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/gtkimhtmltoolbar.c	Thu Oct 27 04:56:33 2005 +0000
+++ b/src/gtkimhtmltoolbar.c	Thu Oct 27 12:00:17 2005 +0000
@@ -866,9 +866,7 @@
 	}
 
 	destroy_toolbar_font(NULL, NULL, toolbar);
-#if !GTK_CHECK_VERSION(2,4,0) /* Smiley selection menu */
 	destroy_smiley_dialog(toolbar);
-#endif
 	destroy_toolbar_bgcolor(NULL, NULL, toolbar);
 	destroy_toolbar_fgcolor(NULL, NULL, toolbar);
 	close_link_dialog(toolbar);