]> git.pld-linux.org Git - packages/gtkspell3.git/commitdiff
- orphaned, outdated
authorJan Rękorajski <baggins@pld-linux.org>
Fri, 21 Apr 2006 23:40:43 +0000 (23:40 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    gtkspell-lang.patch -> 1.2

gtkspell-lang.patch [deleted file]

diff --git a/gtkspell-lang.patch b/gtkspell-lang.patch
deleted file mode 100644 (file)
index 3df8624..0000000
+++ /dev/null
@@ -1,28 +0,0 @@
-diff -Nur gtkspell-2.0.0/gtkspell/gtkspell_pspell.c gtkspell-2.0.0.new/gtkspell/gtkspell_pspell.c
---- gtkspell-2.0.0/gtkspell/gtkspell_pspell.c  Sat Mar 30 02:12:21 2002
-+++ gtkspell-2.0.0.new/gtkspell/gtkspell_pspell.c      Tue Jul 16 03:58:47 2002
-@@ -6,6 +6,7 @@
- #include <gtk/gtk.h>
- #include <pspell/pspell.h>
-+#include <stdlib.h>
- #include "spell.h"
- /* in theory, this file could be replaced by a file that provided the same
-@@ -43,8 +44,14 @@
- gtkspell_init() {
-       PspellConfig *config = new_pspell_config();
-       PspellCanHaveError *err;
--
--      pspell_config_replace(config, "language-tag", "en_US"); /* FIXME */
-+      gchar *env = g_strdup(getenv("LANG"));
-+      
-+      if (env == NULL)
-+          env = g_strdup("en_US");
-+      
-+      pspell_config_replace(config, "language-tag", env);
-+      g_free(env);
-+      
-       err = new_pspell_manager(config);
-       if (pspell_error_number(err) != 0) {
-               g_warning("pspell: %s\n", pspell_error_message(err));
This page took 0.053042 seconds and 4 git commands to generate.