aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorXan Lopez <xan@gnome.org>2009-09-10 23:51:17 +0800
committerXan Lopez <xan@gnome.org>2009-09-10 23:51:17 +0800
commit665f28f7a4d8da80decf83bb801621532e3c1c93 (patch)
tree819317e61747b3faa80c0b8a0394a434735d86f8 /src
parentb93c0ee2b3db46db54b6ae45909fb8b5f54d9f4c (diff)
downloadgsoc2013-epiphany-665f28f7a4d8da80decf83bb801621532e3c1c93.tar
gsoc2013-epiphany-665f28f7a4d8da80decf83bb801621532e3c1c93.tar.gz
gsoc2013-epiphany-665f28f7a4d8da80decf83bb801621532e3c1c93.tar.bz2
gsoc2013-epiphany-665f28f7a4d8da80decf83bb801621532e3c1c93.tar.lz
gsoc2013-epiphany-665f28f7a4d8da80decf83bb801621532e3c1c93.tar.xz
gsoc2013-epiphany-665f28f7a4d8da80decf83bb801621532e3c1c93.tar.zst
gsoc2013-epiphany-665f28f7a4d8da80decf83bb801621532e3c1c93.zip
ephy-location-action.c: also disconnect the notebook signal on disconnect_proxy
Diffstat (limited to 'src')
-rw-r--r--src/ephy-location-action.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/ephy-location-action.c b/src/ephy-location-action.c
index 66a3c6393..0a4ab396e 100644
--- a/src/ephy-location-action.c
+++ b/src/ephy-location-action.c
@@ -539,13 +539,14 @@ disconnect_proxy (GtkAction *action, GtkWidget *proxy)
if (EPHY_IS_LOCATION_ENTRY (proxy))
{
EphyLocationEntry *lentry = EPHY_LOCATION_ENTRY (proxy);
- GtkWidget *entry;
+ GtkWidget *entry, *notebook;
EphyLocationActionPrivate *priv;
priv = EPHY_LOCATION_ACTION (action)->priv;
priv->proxy = NULL;
entry = ephy_location_entry_get_entry (lentry);
+ notebook = ephy_window_get_notebook (priv->window);
g_signal_handlers_disconnect_matched (action, G_SIGNAL_MATCH_DATA,
0, 0, NULL, NULL, proxy);
@@ -553,6 +554,8 @@ disconnect_proxy (GtkAction *action, GtkWidget *proxy)
0, 0, NULL, NULL, action);
g_signal_handlers_disconnect_matched (entry, G_SIGNAL_MATCH_DATA,
0, 0, NULL, NULL, action);
+ g_signal_handlers_disconnect_matched (notebook, G_SIGNAL_MATCH_DATA,
+ 0, 0, NULL, NULL, action);
}
}