diff options
author | Ben Murdoch <benm@google.com> | 2009-08-11 17:01:47 +0100 |
---|---|---|
committer | Ben Murdoch <benm@google.com> | 2009-08-11 18:21:02 +0100 |
commit | 0bf48ef3be53ddaa52bbead65dfd75bf90e7a2b5 (patch) | |
tree | 2943df35f62d885c89d01063cc528dd73b480fea /WebCore/platform/gtk/Language.cpp | |
parent | 7e7a70bfa49a1122b2597a1e6367d89eb4035eca (diff) | |
download | external_webkit-0bf48ef3be53ddaa52bbead65dfd75bf90e7a2b5.zip external_webkit-0bf48ef3be53ddaa52bbead65dfd75bf90e7a2b5.tar.gz external_webkit-0bf48ef3be53ddaa52bbead65dfd75bf90e7a2b5.tar.bz2 |
Merge in WebKit r47029.
Diffstat (limited to 'WebCore/platform/gtk/Language.cpp')
-rw-r--r-- | WebCore/platform/gtk/Language.cpp | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/WebCore/platform/gtk/Language.cpp b/WebCore/platform/gtk/Language.cpp index 6ae7305..171cd84 100644 --- a/WebCore/platform/gtk/Language.cpp +++ b/WebCore/platform/gtk/Language.cpp @@ -26,30 +26,6 @@ #include <gtk/gtk.h> #include <pango/pango.h> -#if !defined(PANGO_VERSION_CHECK) -// PANGO_VERSION_CHECK() and pango_language_get_default() appeared in 1.5.2 -#include <locale.h> - -static gchar * -_pango_get_lc_ctype (void) -{ - return g_strdup (setlocale (LC_CTYPE, NULL)); -} - -static PangoLanguage * -pango_language_get_default (void) -{ - static PangoLanguage *result = NULL; - if (G_UNLIKELY (!result)) - { - gchar *lang = _pango_get_lc_ctype (); - result = pango_language_from_string (lang); - g_free (lang); - } - return result; -} -#endif - namespace WebCore { String defaultLanguage() |