From 0bf48ef3be53ddaa52bbead65dfd75bf90e7a2b5 Mon Sep 17 00:00:00 2001 From: Ben Murdoch Date: Tue, 11 Aug 2009 17:01:47 +0100 Subject: Merge in WebKit r47029. --- WebCore/platform/gtk/Language.cpp | 24 ------------------------ 1 file changed, 24 deletions(-) (limited to 'WebCore/platform/gtk/Language.cpp') 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 #include -#if !defined(PANGO_VERSION_CHECK) -// PANGO_VERSION_CHECK() and pango_language_get_default() appeared in 1.5.2 -#include - -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() -- cgit v1.1