aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorXan Lopez <xan@src.gnome.org>2007-11-13 04:50:19 +0800
committerXan Lopez <xan@src.gnome.org>2007-11-13 04:50:19 +0800
commitf6af5f861e72801975fbf03db9db66d75508645e (patch)
treec886b66dff2300b973f26eff2d89664afc99b1a4 /src
parent0777997cc8ede06e71e2b1783adb51d95705e11c (diff)
downloadgsoc2013-epiphany-f6af5f861e72801975fbf03db9db66d75508645e.tar
gsoc2013-epiphany-f6af5f861e72801975fbf03db9db66d75508645e.tar.gz
gsoc2013-epiphany-f6af5f861e72801975fbf03db9db66d75508645e.tar.bz2
gsoc2013-epiphany-f6af5f861e72801975fbf03db9db66d75508645e.tar.lz
gsoc2013-epiphany-f6af5f861e72801975fbf03db9db66d75508645e.tar.xz
gsoc2013-epiphany-f6af5f861e72801975fbf03db9db66d75508645e.tar.zst
gsoc2013-epiphany-f6af5f861e72801975fbf03db9db66d75508645e.zip
Don't connect to destroy-browser, we do nothing in the cb and it's GtkMozEmbed specific.
svn path=/trunk/; revision=7679
Diffstat (limited to 'src')
-rw-r--r--src/ephy-window.c12
1 files changed, 0 insertions, 12 deletions
diff --git a/src/ephy-window.c b/src/ephy-window.c
index c2d529588..e482dff44 100644
--- a/src/ephy-window.c
+++ b/src/ephy-window.c
@@ -2568,13 +2568,6 @@ embed_close_request_cb (EphyEmbed *embed,
return TRUE;
}
-static void
-embed_destroy_browser_cb (EphyEmbed *embed,
- EphyWindow *window)
-{
- g_return_if_reached ();
-}
-
static gboolean
show_notebook_popup_menu (GtkNotebook *notebook,
EphyWindow *window,
@@ -2664,9 +2657,6 @@ notebook_page_added_cb (EphyNotebook *notebook,
g_signal_connect_object (embed, "close-request",
G_CALLBACK (embed_close_request_cb),
window, 0);
- g_signal_connect_object (embed, "destroy-browser",
- G_CALLBACK (embed_destroy_browser_cb),
- window, 0);
g_signal_connect_object (embed, "ge-modal-alert",
G_CALLBACK (embed_modal_alert_cb), window, G_CONNECT_AFTER);
@@ -2711,8 +2701,6 @@ notebook_page_removed_cb (EphyNotebook *notebook,
(embed, G_CALLBACK (embed_modal_alert_cb), window);
g_signal_handlers_disconnect_by_func
(embed, G_CALLBACK (embed_close_request_cb), window);
- g_signal_handlers_disconnect_by_func
- (embed, G_CALLBACK (embed_destroy_browser_cb), window);
}
static void