soc.2008.finch: 87067453: Added last fixup to old spell checking r...

queueram at soc.pidgin.im queueram at soc.pidgin.im
Sun Aug 17 00:12:43 EDT 2008


-----------------------------------------------------------------
Revision: 87067453980aa21bf2ae667cacf8d8f8760a6e66
Ancestor: 7b42fea88276f871a4d8446f0bdcde8a8c41e518
Author: queueram at soc.pidgin.im
Date: 2008-08-14T02:01:39
Branch: im.pidgin.soc.2008.finch
URL: http://d.pidgin.im/viewmtn/revision/info/87067453980aa21bf2ae667cacf8d8f8760a6e66

Modified files:
        finch/libgnt/gntentry.c

ChangeLog: 

Added last fixup to old spell checking routines.

-------------- next part --------------
============================================================
--- finch/libgnt/gntentry.c	bed927603e6b2dc0719e1abfa6e0cc26e479c7dd
+++ finch/libgnt/gntentry.c	b77bff6c7614638f0baa2ccff01dff92ad7dfe0e
@@ -1589,8 +1589,9 @@ void gnt_entry_set_spell_enable(GntEntry
 void gnt_entry_set_spell_enable(GntEntry *entry, gboolean enable)
 {
 #ifdef USE_ENCHANT
-	if (entry->spell) {
+	if (entry->spell && entry->spell->enable != enable) {
 		entry->spell->enable = enable;
+		entry_redraw(GNT_WIDGET(entry));
 	}
 #endif
 }


More information about the Commits mailing list