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.cpp9
1 files changed, 8 insertions, 1 deletions
diff --git a/embed/mozilla/mozilla-embed-single.cpp b/embed/mozilla/mozilla-embed-single.cpp
index e6af11890..91b27dcce 100644
--- a/embed/mozilla/mozilla-embed-single.cpp
+++ b/embed/mozilla/mozilla-embed-single.cpp
@@ -628,6 +628,12 @@ impl_get_offline_mode (EphyEmbedSingle *shell)
}
static GList *
+impl_get_printer_list (EphyEmbedSingle *shell)
+{
+ return MozillaPrivate::GetPrinterList ();
+}
+
+static GList *
impl_get_font_list (EphyEmbedSingle *shell,
const char *langGroup)
{
@@ -959,7 +965,7 @@ impl_open_window (EphyEmbedSingle *single,
wWatch->OpenWindow (domWindow, address, name, features, nsnull,
getter_AddRefs (newWindow));
- return MozillaFindEmbed (newWindow);
+ return EphyUtils::FindEmbed (newWindow);
}
static void
@@ -984,6 +990,7 @@ ephy_embed_single_iface_init (EphyEmbedSingleIface *iface)
iface->get_offline_mode = impl_get_offline_mode;
iface->get_font_list = impl_get_font_list;
iface->open_window = impl_open_window;
+ iface->get_printer_list = impl_get_printer_list;
}
static void