aboutsummaryrefslogtreecommitdiffstats
path: root/embed
diff options
context:
space:
mode:
authorDiego Escalante Urrelo <diegoe@igalia.com>2012-02-09 17:21:38 +0800
committerDiego Escalante Urrelo <diegoe@igalia.com>2012-02-22 23:55:19 +0800
commitf1fd22a86d2ff32d78494e68ae7ab865c454b88c (patch)
tree78f086a3ef8f14a4ee1e0e1dde91f1f650170cbf /embed
parent75e3424275e8d45268bdf8c48e9be9dc23b4f713 (diff)
downloadgsoc2013-epiphany-f1fd22a86d2ff32d78494e68ae7ab865c454b88c.tar
gsoc2013-epiphany-f1fd22a86d2ff32d78494e68ae7ab865c454b88c.tar.gz
gsoc2013-epiphany-f1fd22a86d2ff32d78494e68ae7ab865c454b88c.tar.bz2
gsoc2013-epiphany-f1fd22a86d2ff32d78494e68ae7ab865c454b88c.tar.lz
gsoc2013-epiphany-f1fd22a86d2ff32d78494e68ae7ab865c454b88c.tar.xz
gsoc2013-epiphany-f1fd22a86d2ff32d78494e68ae7ab865c454b88c.tar.zst
gsoc2013-epiphany-f1fd22a86d2ff32d78494e68ae7ab865c454b88c.zip
ephy-web-view: remove close-requested signal
WebKitWebView has a ::close-web-view signal for the same thing. The only user of this was ephy-window, for exactly the same thing that we are already doing in ephy-web-view, when handling ::close-web-view. https://bugzilla.gnome.org/show_bug.cgi?id=669737
Diffstat (limited to 'embed')
-rw-r--r--embed/ephy-web-view.c16
-rw-r--r--embed/ephy-web-view.h1
2 files changed, 0 insertions, 17 deletions
diff --git a/embed/ephy-web-view.c b/embed/ephy-web-view.c
index 5ce89b793..2b5272e68 100644
--- a/embed/ephy-web-view.c
+++ b/embed/ephy-web-view.c
@@ -1452,22 +1452,6 @@ ephy_web_view_class_init (EphyWebViewClass *klass)
GDK_TYPE_EVENT | G_SIGNAL_TYPE_STATIC_SCOPE);
/**
- * EphyWebView::close-request
- * @view: the #EphyWebView that received the signal
- *
- * The ::close signal is emitted when the embed requests closing.
- * Return %TRUE to prevent closing. You HAVE to process removal of the embed
- * as soon as possible after that.
- **/
- g_signal_new ("close-request",
- EPHY_TYPE_WEB_VIEW,
- G_SIGNAL_RUN_LAST,
- G_STRUCT_OFFSET (EphyWebViewClass, close_request),
- g_signal_accumulator_true_handled, NULL,
- g_cclosure_marshal_generic,
- G_TYPE_BOOLEAN,
- 0);
-/**
* EphyWebView::content-blocked:
* @view: the #EphyWebView that received the signal
* @uri: blocked URI
diff --git a/embed/ephy-web-view.h b/embed/ephy-web-view.h
index c05461eeb..789d6cfa5 100644
--- a/embed/ephy-web-view.h
+++ b/embed/ephy-web-view.h
@@ -121,7 +121,6 @@ struct _EphyWebViewClass
EphyWebView *new_view);
gboolean (* search_key_press) (EphyWebView *view,
GdkEventKey *event);
- gboolean (* close_request) (EphyWebView *view);
void (* new_document_now) (EphyWebView *view,
const char *uri);