aboutsummaryrefslogtreecommitdiffstats
path: root/embed
diff options
context:
space:
mode:
authorChristian Persch <chpe@cvs.gnome.org>2003-06-12 07:14:38 +0800
committerChristian Persch <chpe@src.gnome.org>2003-06-12 07:14:38 +0800
commit5c496db6c7ccd1c451cb49b4529724630a64895f (patch)
treeff0faf4b396dbae4646c4ef4cbdcb82d89417b90 /embed
parentd25a4baf3c20a184803537334e656a5c4538211f (diff)
downloadgsoc2013-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')
-rw-r--r--embed/mozilla/mozilla-notifiers.cpp4
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;