Mercurial > pidgin.yaz
diff src/gtkconv.c @ 12067:e859c1663a27
[gaim-migrate @ 14362]
Revert GtkSpell dynamic loading. A GtkSpell plugin is a better idea, and nosnilmot says he has one that's close to fully functional.
committer: Tailor Script <tailor@pidgin.im>
author | Richard Laager <rlaager@wiktel.com> |
---|---|
date | Sun, 13 Nov 2005 01:44:11 +0000 |
parents | 658623020748 |
children | 3b52d94437f3 |
line wrap: on
line diff
--- a/src/gtkconv.c Sun Nov 13 01:32:31 2005 +0000 +++ b/src/gtkconv.c Sun Nov 13 01:44:11 2005 +0000 @@ -5426,9 +5426,11 @@ gtkconv = GAIM_GTK_CONVERSATION(conv); if (value) - gaim_gtk_gtkspell_setup(GTK_TEXT_VIEW(gtkconv->entry)); - else - gaim_gtk_gtkspell_unsetup(GTK_TEXT_VIEW(gtkconv->entry)); + gaim_gtk_setup_gtkspell(GTK_TEXT_VIEW(gtkconv->entry)); + else { + spell = gtkspell_get_from_text_view(GTK_TEXT_VIEW(gtkconv->entry)); + gtkspell_detach(spell); + } } #endif }