aboutsummaryrefslogtreecommitdiffstats
path: root/embed/webkit/webkit-embed.c
diff options
context:
space:
mode:
authorXan Lopez <xan@src.gnome.org>2008-06-30 02:16:16 +0800
committerXan Lopez <xan@src.gnome.org>2008-06-30 02:16:16 +0800
commit8cad69642ad84471f9c80b47cba5ec3697a4e56a (patch)
tree6d6e94c879ba349dee25e088e8bdfddf6e977dac /embed/webkit/webkit-embed.c
parent69481e1a7b0835dcc595320af2195fe4c8c35fb3 (diff)
downloadgsoc2013-epiphany-8cad69642ad84471f9c80b47cba5ec3697a4e56a.tar
gsoc2013-epiphany-8cad69642ad84471f9c80b47cba5ec3697a4e56a.tar.gz
gsoc2013-epiphany-8cad69642ad84471f9c80b47cba5ec3697a4e56a.tar.bz2
gsoc2013-epiphany-8cad69642ad84471f9c80b47cba5ec3697a4e56a.tar.lz
gsoc2013-epiphany-8cad69642ad84471f9c80b47cba5ec3697a4e56a.tar.xz
gsoc2013-epiphany-8cad69642ad84471f9c80b47cba5ec3697a4e56a.tar.zst
gsoc2013-epiphany-8cad69642ad84471f9c80b47cba5ec3697a4e56a.zip
embed: remove ephy_embed_print.
And use the WebKit API directly. svn path=/trunk/; revision=8309
Diffstat (limited to 'embed/webkit/webkit-embed.c')
-rw-r--r--embed/webkit/webkit-embed.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/embed/webkit/webkit-embed.c b/embed/webkit/webkit-embed.c
index 304273412..7e48c56c2 100644
--- a/embed/webkit/webkit-embed.c
+++ b/embed/webkit/webkit-embed.c
@@ -465,12 +465,6 @@ impl_show_page_certificate (EphyEmbed *embed)
}
static void
-impl_print (EphyEmbed *embed)
-{
- webkit_web_view_execute_script (WEBKIT_EMBED (embed)->priv->web_view, "print();");
-}
-
-static void
impl_set_print_preview_mode (EphyEmbed *embed, gboolean preview_mode)
{
}
@@ -570,7 +564,6 @@ ephy_embed_iface_init (EphyEmbedIface *iface)
iface->set_encoding = impl_set_encoding;
iface->get_encoding = impl_get_encoding;
iface->has_automatic_encoding = impl_has_automatic_encoding;
- iface->print = impl_print;
iface->set_print_preview_mode = impl_set_print_preview_mode;
iface->print_preview_n_pages = impl_print_preview_n_pages;
iface->print_preview_navigate = impl_print_preview_navigate;