[epiphany] web-view: Remove ge_popups_blocked signal
- From: Michael Catanzaro <mcatanzaro src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [epiphany] web-view: Remove ge_popups_blocked signal
- Date: Wed, 10 Feb 2016 14:04:41 +0000 (UTC)
commit 4ee64399acc82d134ec7d012ff2dae4ce69e1d90
Author: Michael Catanzaro <mcatanzaro igalia com>
Date: Tue Feb 9 13:32:21 2016 -0600
web-view: Remove ge_popups_blocked signal
It's connected to, but never emitted
https://bugzilla.gnome.org/show_bug.cgi?id=755585
embed/ephy-web-view.c | 33 ---------------------------------
1 files changed, 0 insertions(+), 33 deletions(-)
---
diff --git a/embed/ephy-web-view.c b/embed/ephy-web-view.c
index 3effe59..961aebe 100644
--- a/embed/ephy-web-view.c
+++ b/embed/ephy-web-view.c
@@ -1100,25 +1100,6 @@ ephy_web_view_class_init (EphyWebViewClass *klass)
G_TYPE_NONE,
1,
GTK_TYPE_WIDGET);
-/**
- * EphyWebView::ge-popup-blocked:
- * @view: the #EphyWebView that received the signal
- * @address: The requested URL
- * @target: The requested window name, e.g. "_blank"
- * @features: The requested features: for example, "height=400,width=200"
- *
- * The ::ge_popup_blocked signal is emitted when the viewed web page requests
- * a popup window (with javascript:open()) but popup windows are not allowed.
- **/
- g_signal_new ("ge_popup_blocked",
- EPHY_TYPE_WEB_VIEW,
- G_SIGNAL_RUN_FIRST,
- 0, NULL, NULL, NULL,
- G_TYPE_NONE,
- 3,
- G_TYPE_STRING | G_SIGNAL_TYPE_STATIC_SCOPE,
- G_TYPE_STRING | G_SIGNAL_TYPE_STATIC_SCOPE,
- G_TYPE_STRING | G_SIGNAL_TYPE_STATIC_SCOPE);
/**
* EphyWebView::ge-modal-alert:
@@ -1214,16 +1195,6 @@ new_window_cb (EphyWebView *view,
popups_manager_add_window (view, container);
}
-static void
-ge_popup_blocked_cb (EphyWebView *view,
- const char *url,
- const char *name,
- const char *features,
- gpointer user_data)
-{
- popups_manager_add (view, url, name, features);
-}
-
static gboolean
decide_policy_cb (WebKitWebView *web_view,
WebKitPolicyDecision *decision,
@@ -2132,10 +2103,6 @@ ephy_web_view_init (EphyWebView *web_view)
G_CALLBACK (new_window_cb),
NULL);
- g_signal_connect (web_view, "ge_popup_blocked",
- G_CALLBACK (ge_popup_blocked_cb),
- NULL);
-
g_signal_connect_object (ephy_embed_shell_get_default (), "page-created",
G_CALLBACK (page_created_cb),
web_view, 0);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]