aboutsummaryrefslogtreecommitdiffstats
path: root/embed/mozilla/mozilla-embed-single.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'embed/mozilla/mozilla-embed-single.cpp')
-rw-r--r--embed/mozilla/mozilla-embed-single.cpp13
1 files changed, 2 insertions, 11 deletions
diff --git a/embed/mozilla/mozilla-embed-single.cpp b/embed/mozilla/mozilla-embed-single.cpp
index a850fecd0..4cee89bd5 100644
--- a/embed/mozilla/mozilla-embed-single.cpp
+++ b/embed/mozilla/mozilla-embed-single.cpp
@@ -214,9 +214,7 @@ impl_get_language_groups (EphyEmbedSingle *shell,
static gresult
impl_get_font_list (EphyEmbedSingle *shell,
const char *langGroup,
- const char *fontType,
- GList **fontList,
- char **default_font);
+ GList **fontList);
static gresult
impl_list_cookies (EphyEmbedSingle *shell,
GList **cookies);
@@ -811,9 +809,7 @@ impl_get_language_groups (EphyEmbedSingle *shell,
static gresult
impl_get_font_list (EphyEmbedSingle *shell,
const char *langGroup,
- const char *fontType,
- GList **fontList,
- char **default_font)
+ GList **fontList)
{
nsresult rv;
PRUint32 fontCount;
@@ -841,11 +837,6 @@ impl_get_font_list (EphyEmbedSingle *shell,
*fontList = g_list_reverse (l);
- if (default_font != NULL)
- {
- *default_font = g_strdup (fontType);
- }
-
return G_OK;
}