From 64d49d6ab067acf67500632f1e9ad681bd97b682 Mon Sep 17 00:00:00 2001 From: Cosimo Cecchi Date: Thu, 19 Jan 2012 17:07:16 -0500 Subject: location-controller: use the right signal data to unblock signal We were using priv->proxy, which is a leftover from when this was a GtkAction, and is actually always NULL. Use the right pointer instead. Fix location entry failing to properly update the address when switching tabs. https://bugzilla.gnome.org/show_bug.cgi?id=668305 --- src/ephy-location-controller.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/ephy-location-controller.c b/src/ephy-location-controller.c index 4c447ec56..2ff546880 100644 --- a/src/ephy-location-controller.c +++ b/src/ephy-location-controller.c @@ -47,7 +47,6 @@ struct _EphyLocationControllerPrivate { EphyWindow *window; EphyLocationEntry *location_entry; - GtkWidget *proxy; GList *actions; char *address; EphyNode *smart_bmks; @@ -411,7 +410,7 @@ switch_page_cb (GtkNotebook *notebook, if (priv->sync_address_is_blocked == TRUE) { priv->sync_address_is_blocked = FALSE; - g_signal_handlers_unblock_by_func (controller, G_CALLBACK (sync_address), priv->proxy); + g_signal_handlers_unblock_by_func (controller, G_CALLBACK (sync_address), priv->location_entry); } } -- cgit v1.2.3