summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSerkan Kaba <serkan@gentoo.org>2009-05-26 04:40:29 +0000
committerSerkan Kaba <serkan@gentoo.org>2009-05-26 04:40:29 +0000
commit3327ec1705c465babdc65b0451e8f6c001d896fe (patch)
tree3f7a0d9a689ae9f9f8fbd507aecbb784df314c2d /app-text/gtkspell/files
parentFix quoting issue. (diff)
downloadgentoo-2-3327ec1705c465babdc65b0451e8f6c001d896fe.tar.gz
gentoo-2-3327ec1705c465babdc65b0451e8f6c001d896fe.tar.bz2
gentoo-2-3327ec1705c465babdc65b0451e8f6c001d896fe.zip
Revbump to fix critical error. Closes bug #270177
(Portage version: 2.2_rc33/cvs/Linux x86_64)
Diffstat (limited to 'app-text/gtkspell/files')
-rw-r--r--app-text/gtkspell/files/gtkspell-2.0.15-fix-null-list.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/app-text/gtkspell/files/gtkspell-2.0.15-fix-null-list.patch b/app-text/gtkspell/files/gtkspell-2.0.15-fix-null-list.patch
new file mode 100644
index 000000000000..f35cea87327a
--- /dev/null
+++ b/app-text/gtkspell/files/gtkspell-2.0.15-fix-null-list.patch
@@ -0,0 +1,15 @@
+diff -Nur gtkspell-2.0.15/gtkspell/gtkspell.c gtkspell-2.0.15_patched/gtkspell/gtkspell.c
+--- gtkspell-2.0.15/gtkspell/gtkspell.c 2008-12-01 10:38:40.000000000 +0200
++++ gtkspell-2.0.15_patched/gtkspell/gtkspell.c 2009-05-17 14:50:09.000000000 +0300
+@@ -387,10 +387,9 @@
+ if (inside_more_submenu) gtk_menu_shell_append(GTK_MENU_SHELL(menu), mi);
+ else gtk_menu_shell_insert(GTK_MENU_SHELL(menu), mi, menu_position++);
+ }
++ enchant_dict_free_string_list(spell->speller, suggestions);
+ }
+
+- enchant_dict_free_suggestions(spell->speller, suggestions);
+-
+ /* + Add to Dictionary */
+ label = g_strdup_printf(_("Add \"%s\" to Dictionary"), word);
+ mi = gtk_image_menu_item_new_with_label(label);