aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorXan Lopez <xan@src.gnome.org>2008-07-03 03:25:25 +0800
committerXan Lopez <xan@src.gnome.org>2008-07-03 03:25:25 +0800
commitc5f616f5c4e904d4fc57f49290952db3cd8a68d8 (patch)
tree3a27ccfe880f1adcb30aa932665ebe4810b18b06 /src
parent1a2c45a09867791d52cd74b280395dd646162523 (diff)
downloadgsoc2013-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 'src')
-rw-r--r--src/ephy-window.c2
-rw-r--r--src/epiphany.defs6
2 files changed, 1 insertions, 7 deletions
diff --git a/src/ephy-window.c b/src/ephy-window.c
index ad31d1682..8fe31d1fd 100644
--- a/src/ephy-window.c
+++ b/src/ephy-window.c
@@ -2830,7 +2830,7 @@ notebook_page_close_request_cb (EphyNotebook *notebook,
if (!ephy_embed_has_modified_forms (embed) ||
confirm_close_with_modified_forms (window))
{
- ephy_embed_close (embed);
+ gtk_widget_destroy (GTK_WIDGET (embed));
}
}
diff --git a/src/epiphany.defs b/src/epiphany.defs
index 133440830..532f91405 100644
--- a/src/epiphany.defs
+++ b/src/epiphany.defs
@@ -1208,12 +1208,6 @@
)
)
-(define-method close
- (of-object "EphyEmbed")
- (c-name "ephy_embed_close")
- (return-type "none")
-)
-
(define-method has_modified_forms
(of-object "EphyEmbed")
(c-name "ephy_embed_has_modified_forms")