aboutsummaryrefslogtreecommitdiffstats
path: root/lib/ephy-langs.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/ephy-langs.h')
-rw-r--r--lib/ephy-langs.h24
1 files changed, 4 insertions, 20 deletions
diff --git a/lib/ephy-langs.h b/lib/ephy-langs.h
index dfe5ec2ee..30cb3a6d2 100644
--- a/lib/ephy-langs.h
+++ b/lib/ephy-langs.h
@@ -24,7 +24,6 @@
#endif
#include <glib.h>
-#include <bonobo/bonobo-i18n.h>
G_BEGIN_DECLS
@@ -71,29 +70,14 @@ typedef struct
gchar* code;
} FontsLanguageInfo;
-static const FontsLanguageInfo fonts_language[] =
-{
- { N_("Arabic"), "ar" },
- { N_("Baltic"), "x-baltic" },
- { N_("Central European"), "x-central-euro" },
- { N_("Cyrillic"), "x-cyrillic" },
- { N_("Greek"), "el" },
- { N_("Hebrew"), "he" },
- { N_("Japanese"), "ja" },
- { N_("Korean"), "ko" },
- { N_("Simplified Chinese"), "zh-CN" },
- { N_("Thai"), "th" },
- { N_("Traditional Chinese"), "zh-TW" },
- { N_("Turkish"), "tr" },
- { N_("Unicode"), "x-unicode" },
- { N_("Western"), "x-western" },
-};
-static const guint n_fonts_languages = G_N_ELEMENTS (fonts_language);
-
void language_group_info_free (LanguageGroupInfo *info);
void encoding_info_free (EncodingInfo *info);
+guint ephy_langs_get_n_font_languages (void);
+
+const FontsLanguageInfo * ephy_langs_get_font_languages (void);
+
G_END_DECLS
#endif