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.h32
1 files changed, 11 insertions, 21 deletions
diff --git a/lib/ephy-langs.h b/lib/ephy-langs.h
index 274d5a8a7..c4007dd73 100644
--- a/lib/ephy-langs.h
+++ b/lib/ephy-langs.h
@@ -46,38 +46,28 @@ typedef enum
LG_WESTERN,
LG_OTHER,
LG_ALL
-} LanguageGroup;
+} EphyLanguageGroup;
typedef struct
{
- gchar *title;
- gchar *key;
- LanguageGroup group;
-} LanguageGroupInfo;
+ EphyLanguageGroup group;
+ char *title;
+ char *key;
+} EphyLanguageGroupInfo;
typedef struct
{
- gchar *title;
- gchar *key;
- gchar *encoding;
- LanguageGroup group;
-} EncodingInfo;
-
-/* language encoding groups */
-typedef struct
-{
- gchar *title;
- gchar* code;
+ char *title;
+ char *code;
} FontsLanguageInfo;
-guint ephy_langs_get_n_font_languages (void);
-
-const FontsLanguageInfo *ephy_langs_get_font_languages (void);
+GList *ephy_font_langs_get_list (void);
-void language_group_info_free (LanguageGroupInfo *info);
+GList *ephy_font_langs_get_codes_list (void);
-void encoding_info_free (EncodingInfo *info);
+GList *ephy_lang_get_group_list (void);
+void ephy_lang_group_info_free (EphyLanguageGroupInfo *info);
G_END_DECLS