diff options
author | Xan Lopez <xan@src.gnome.org> | 2008-07-03 03:25:25 +0800 |
---|---|---|
committer | Xan Lopez <xan@src.gnome.org> | 2008-07-03 03:25:25 +0800 |
commit | c5f616f5c4e904d4fc57f49290952db3cd8a68d8 (patch) | |
tree | 3a27ccfe880f1adcb30aa932665ebe4810b18b06 /embed | |
parent | 1a2c45a09867791d52cd74b280395dd646162523 (diff) | |
download | gsoc2013-epiphany-c5f616f5c4e904d4fc57f49290952db3cd8a68d8.tar gsoc2013-epiphany-c5f616f5c4e904d4fc57f49290952db3cd8a68d8.tar.gz gsoc2013-epiphany-c5f616f5c4e904d4fc57f49290952db3cd8a68d8.tar.bz2 gsoc2013-epiphany-c5f616f5c4e904d4fc57f49290952db3cd8a68d8.tar.lz gsoc2013-epiphany-c5f616f5c4e904d4fc57f49290952db3cd8a68d8.tar.xz gsoc2013-epiphany-c5f616f5c4e904d4fc57f49290952db3cd8a68d8.tar.zst gsoc2013-epiphany-c5f616f5c4e904d4fc57f49290952db3cd8a68d8.zip |
embed: remove ephy_embed_close.
Just destroy the embed widget.
svn path=/trunk/; revision=8332
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; |