aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
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);
}
}