[epiphany] ephy-location-action.c: also disconnect the notebook signal on disconnect_proxy
- From: Xan Lopez <xan src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [epiphany] ephy-location-action.c: also disconnect the notebook signal on disconnect_proxy
- Date: Thu, 10 Sep 2009 15:51:51 +0000 (UTC)
commit 665f28f7a4d8da80decf83bb801621532e3c1c93
Author: Xan Lopez <xan gnome org>
Date: Thu Sep 10 18:51:17 2009 +0300
ephy-location-action.c: also disconnect the notebook signal on disconnect_proxy
src/ephy-location-action.c | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
---
diff --git a/src/ephy-location-action.c b/src/ephy-location-action.c
index 66a3c63..0a4ab39 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);
}
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]