diff options
author | Christian Persch <chpe@cvs.gnome.org> | 2003-06-12 07:14:38 +0800 |
---|---|---|
committer | Christian Persch <chpe@src.gnome.org> | 2003-06-12 07:14:38 +0800 |
commit | 5c496db6c7ccd1c451cb49b4529724630a64895f (patch) | |
tree | ff0faf4b396dbae4646c4ef4cbdcb82d89417b90 /src | |
parent | d25a4baf3c20a184803537334e656a5c4538211f (diff) | |
download | gsoc2013-epiphany-5c496db6c7ccd1c451cb49b4529724630a64895f.tar gsoc2013-epiphany-5c496db6c7ccd1c451cb49b4529724630a64895f.tar.gz gsoc2013-epiphany-5c496db6c7ccd1c451cb49b4529724630a64895f.tar.bz2 gsoc2013-epiphany-5c496db6c7ccd1c451cb49b4529724630a64895f.tar.lz gsoc2013-epiphany-5c496db6c7ccd1c451cb49b4529724630a64895f.tar.xz gsoc2013-epiphany-5c496db6c7ccd1c451cb49b4529724630a64895f.tar.zst gsoc2013-epiphany-5c496db6c7ccd1c451cb49b4529724630a64895f.zip |
Use functions instead of declaring static vars in .h file, (hopefully)
2003-06-12 Christian Persch <chpe@cvs.gnome.org>
* lib/ephy-langs.h:
* lib/ephy-langs.c: (ephy_langs_get_n_font_languages),
(ephy_langs_get_font_languages):
Use functions instead of declaring static vars in .h file,
(hopefully) fixing # 114906 .
Diffstat (limited to 'src')
-rw-r--r-- | src/prefs-dialog.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/prefs-dialog.c b/src/prefs-dialog.c index 594e11e21..3dcaa806d 100644 --- a/src/prefs-dialog.c +++ b/src/prefs-dialog.c @@ -639,6 +639,11 @@ create_fonts_language_menu (PrefsDialog *dialog) GtkWidget *optionmenu, *menu; GList *l = NULL; guint i; + guint n_fonts_languages; + const FontsLanguageInfo *fonts_language; + + n_fonts_languages = ephy_langs_get_n_font_languages (); + fonts_language = ephy_langs_get_font_languages (); for (i = 0; i < n_fonts_languages; i++) { |