From 5c496db6c7ccd1c451cb49b4529724630a64895f Mon Sep 17 00:00:00 2001 From: Christian Persch Date: Wed, 11 Jun 2003 23:14:38 +0000 Subject: Use functions instead of declaring static vars in .h file, (hopefully) 2003-06-12 Christian Persch * 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 . --- embed/mozilla/mozilla-notifiers.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'embed/mozilla/mozilla-notifiers.cpp') 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; -- cgit v1.2.3