comparison src/gtkrequest.c @ 7458:7c320cdc0f3a

[gaim-migrate @ 8071] Fixes the bug where some dialogs would crash when spell checking was enabled. Closes #827930. committer: Tailor Script <tailor@pidgin.im>
author Christian Hammond <chipx86@chipx86.com>
date Sat, 08 Nov 2003 05:18:17 +0000
parents 5d0db846c42d
children 357eb1c39b72
comparison
equal deleted inserted replaced
7457:8bc33ec515a1 7458:7c320cdc0f3a
650 650
651 #ifdef USE_GTKSPELL 651 #ifdef USE_GTKSPELL
652 if (gaim_prefs_get_bool( 652 if (gaim_prefs_get_bool(
653 "/gaim/gtk/conversations/spellcheck")) 653 "/gaim/gtk/conversations/spellcheck"))
654 { 654 {
655 gtkspell_new_attach(GTK_TEXT_VIEW(widget), 655 gtkspell_new_attach(GTK_TEXT_VIEW(textview),
656 NULL, NULL); 656 NULL, NULL);
657 } 657 }
658 #endif 658 #endif
659 659
660 gtk_container_add(GTK_CONTAINER(widget), textview); 660 gtk_container_add(GTK_CONTAINER(widget), textview);