diff options
Diffstat (limited to 'embed')
-rw-r--r-- | embed/ephy-embed.c | 13 | ||||
-rw-r--r-- | embed/ephy-embed.h | 3 | ||||
-rw-r--r-- | embed/webkit/webkit-embed.c | 7 |
3 files changed, 0 insertions, 23 deletions
diff --git a/embed/ephy-embed.c b/embed/ephy-embed.c index 71db600b2..2dec24864 100644 --- a/embed/ephy-embed.c +++ b/embed/ephy-embed.c @@ -610,19 +610,6 @@ ephy_embed_show_page_certificate (EphyEmbed *embed) } /** - * ephy_embed_close: - * @embed: an #EphyEmbed - * - * Closes the @embed - **/ -void -ephy_embed_close (EphyEmbed *embed) -{ - EphyEmbedIface *iface = EPHY_EMBED_GET_IFACE (embed); - iface->close (embed); -} - -/** * ephy_embed_set_encoding: * @embed: an #EphyEmbed * @encoding: the desired encoding diff --git a/embed/ephy-embed.h b/embed/ephy-embed.h index b419cea96..6d85bf93b 100644 --- a/embed/ephy-embed.h +++ b/embed/ephy-embed.h @@ -202,7 +202,6 @@ struct _EphyEmbedIface EphyEmbedPrintPreviewNavType type, int page); gboolean (* has_modified_forms) (EphyEmbed *embed); - void (* close) (EphyEmbed *embed); EphyEmbedDocumentType (* get_document_type) (EphyEmbed *embed); int (* get_load_percent) (EphyEmbed *embed); gboolean (* get_load_status) (EphyEmbed *embed); @@ -331,8 +330,6 @@ void ephy_embed_print_preview_navigate (EphyEmbed *embed, int page); /* Misc. utility */ -void ephy_embed_close (EphyEmbed *embed); - gboolean ephy_embed_has_modified_forms (EphyEmbed *embed); G_END_DECLS diff --git a/embed/webkit/webkit-embed.c b/embed/webkit/webkit-embed.c index 15fd046fb..4712a9489 100644 --- a/embed/webkit/webkit-embed.c +++ b/embed/webkit/webkit-embed.c @@ -108,12 +108,6 @@ G_DEFINE_TYPE_WITH_CODE (WebKitEmbed, webkit_embed, EPHY_TYPE_BASE_EMBED, ephy_command_manager_iface_init)) static void -impl_close (EphyEmbed *embed) -{ - gtk_widget_destroy (GTK_WIDGET (embed)); -} - -static void webkit_embed_title_changed_cb (WebKitWebView *web_view, WebKitWebFrame *web_frame, const gchar *title, @@ -523,7 +517,6 @@ ephy_embed_iface_init (EphyEmbedIface *iface) iface->scroll_pixels = impl_scroll_pixels; iface->shistory_copy = impl_shistory_copy; iface->show_page_certificate = impl_show_page_certificate; - iface->close = impl_close; iface->set_encoding = impl_set_encoding; iface->get_encoding = impl_get_encoding; iface->has_automatic_encoding = impl_has_automatic_encoding; |