diff options
Diffstat (limited to 'embed')
-rw-r--r-- | embed/ephy-embed.c | 14 | ||||
-rw-r--r-- | embed/ephy-embed.h | 3 | ||||
-rw-r--r-- | embed/webkit/webkit-embed.c | 7 |
3 files changed, 0 insertions, 24 deletions
diff --git a/embed/ephy-embed.c b/embed/ephy-embed.c index f6bc66987..29d7a0859 100644 --- a/embed/ephy-embed.c +++ b/embed/ephy-embed.c @@ -724,20 +724,6 @@ ephy_embed_has_automatic_encoding (EphyEmbed *embed) } /** - * ephy_embed_print: - * @embed: an #EphyEmbed - * - * Sends a document to the printer. - * - **/ -void -ephy_embed_print (EphyEmbed *embed) -{ - EphyEmbedIface *iface = EPHY_EMBED_GET_IFACE (embed); - iface->print (embed); -} - -/** * ephy_embed_set_print_preview_mode: * @embed: an #EphyEmbed * @preview_mode: Whether the print preview mode is enabled. diff --git a/embed/ephy-embed.h b/embed/ephy-embed.h index 2dddb985d..ec8b4db65 100644 --- a/embed/ephy-embed.h +++ b/embed/ephy-embed.h @@ -201,7 +201,6 @@ struct _EphyEmbedIface gboolean (* has_automatic_encoding) (EphyEmbed *embed); void (* set_encoding) (EphyEmbed *embed, const char *encoding); - void (* print) (EphyEmbed *embed); void (* set_print_preview_mode) (EphyEmbed *embed, gboolean mode); int (* print_preview_n_pages) (EphyEmbed *embed); @@ -340,8 +339,6 @@ void ephy_embed_set_encoding (EphyEmbed *embed, const char *encoding); /* Print */ -void ephy_embed_print (EphyEmbed *embed); - void ephy_embed_set_print_preview_mode (EphyEmbed *embed, gboolean preview_mode); 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; |