[epiphany] location-controller: use the right signal data to unblock signal



commit 64d49d6ab067acf67500632f1e9ad681bd97b682
Author: Cosimo Cecchi <cosimoc gnome org>
Date:   Thu Jan 19 17:07:16 2012 -0500

    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 files changed, 1 insertions(+), 2 deletions(-)
---
diff --git a/src/ephy-location-controller.c b/src/ephy-location-controller.c
index 4c447ec..2ff5468 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);
 	}
 }
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]