diff -r fe562503e212 -r 3703a6de528a pidgin/gtkconv.c --- a/pidgin/gtkconv.c Thu Aug 23 01:41:12 2012 -0400 +++ b/pidgin/gtkconv.c Tue Aug 28 03:25:57 2012 -0400 @@ -33,13 +33,6 @@ # include #endif -#ifdef USE_GTKSPELL -# include -# ifdef _WIN32 -# include "wspell.h" -# endif -#endif - #include #include "account.h" @@ -7887,7 +7880,6 @@ spellcheck_pref_cb(const char *name, PurplePrefType type, gconstpointer value, gpointer data) { -#ifdef USE_GTKSPELL GList *cl; PurpleConversation *conv; PidginConversation *gtkconv; @@ -7901,9 +7893,9 @@ gtkconv = PIDGIN_CONVERSATION(conv); - pidgin_webview_set_spellcheck(GTK_WEBVIEW(gtkconv->entry), value); - } -#endif + pidgin_webview_set_spellcheck(GTK_WEBVIEW(gtkconv->entry), + (gboolean)GPOINTER_TO_INT(value)); + } } static void