comparison src/gtkimhtmltoolbar.c @ 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 b47708f46a38
children f8cd06753755
comparison
equal deleted inserted replaced
11848:434181b96f44 11849:dc51cdcb648e
864 gtk_widget_destroy(toolbar->image_dialog); 864 gtk_widget_destroy(toolbar->image_dialog);
865 toolbar->image_dialog = NULL; 865 toolbar->image_dialog = NULL;
866 } 866 }
867 867
868 destroy_toolbar_font(NULL, NULL, toolbar); 868 destroy_toolbar_font(NULL, NULL, toolbar);
869 #if !GTK_CHECK_VERSION(2,4,0) /* Smiley selection menu */
870 destroy_smiley_dialog(toolbar); 869 destroy_smiley_dialog(toolbar);
871 #endif
872 destroy_toolbar_bgcolor(NULL, NULL, toolbar); 870 destroy_toolbar_bgcolor(NULL, NULL, toolbar);
873 destroy_toolbar_fgcolor(NULL, NULL, toolbar); 871 destroy_toolbar_fgcolor(NULL, NULL, toolbar);
874 close_link_dialog(toolbar); 872 close_link_dialog(toolbar);
875 873
876 if (toolbar->sml) 874 if (toolbar->sml)