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 /embed/mozilla/mozilla-notifiers.cpp | |
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 'embed/mozilla/mozilla-notifiers.cpp')
-rw-r--r-- | embed/mozilla/mozilla-notifiers.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/embed/mozilla/mozilla-notifiers.cpp b/embed/mozilla/mozilla-notifiers.cpp index 58b306a13..f17e36213 100644 --- a/embed/mozilla/mozilla-notifiers.cpp +++ b/embed/mozilla/mozilla-notifiers.cpp @@ -344,6 +344,8 @@ mozilla_notifiers_init(EphyEmbedSingle *single) { GConfClient *client = eel_gconf_client_get_global (); guint i; + guint n_fonts_languages; + const FontsLanguageInfo *fonts_language; for (i = 0; conversion_table[i].gconf_key != NULL; i++) { @@ -381,6 +383,8 @@ mozilla_notifiers_init(EphyEmbedSingle *single) } /* fonts notifiers */ + n_fonts_languages = ephy_langs_get_n_font_languages (); + fonts_language = ephy_langs_get_font_languages (); for (i = 0; i < n_fonts_languages; i++) { guint k; |