changeset 14710:2d7c814d9f09

[gaim-migrate @ 17464] SF Bug #1573887 suggests that we stop special casing ' as an inside-the-word character. I can't come up with a good reason to reject the request, so here it is. committer: Tailor Script <tailor@pidgin.im>
author Richard Laager <rlaager@wiktel.com>
date Thu, 12 Oct 2006 01:08:28 +0000
parents 3b5c732458ec
children 556a112ab6ca
files gtk/plugins/spellchk.c
diffstat 1 files changed, 0 insertions(+), 11 deletions(-) [+]
line wrap: on
line diff
--- a/gtk/plugins/spellchk.c	Thu Oct 12 01:03:18 2006 +0000
+++ b/gtk/plugins/spellchk.c	Thu Oct 12 01:08:28 2006 +0000
@@ -298,7 +298,6 @@
 	g_free(spell);
 }
 
-/* Pango doesn't know about the "'" character.  Let's fix that. */
 static gboolean
 spellchk_inside_word(GtkTextIter *iter)
 {
@@ -329,16 +328,6 @@
 	if (gtk_text_iter_inside_word (iter) == TRUE)
 		return TRUE;
 
-	if (c == '\'') {
-		result = gtk_text_iter_backward_char(iter);
-		output = gtk_text_iter_inside_word(iter);
-
-		if (result)
-			gtk_text_iter_forward_char(iter);
-
-		return output;
-	}
-
 	return FALSE;
 
 }