aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCosimo Cecchi <cosimoc@gnome.org>2012-01-20 06:07:16 +0800
committerCosimo Cecchi <cosimoc@gnome.org>2012-01-20 09:11:20 +0800
commit64d49d6ab067acf67500632f1e9ad681bd97b682 (patch)
tree2de2c90238ede21072cb648be76a524670a82a9c
parent1d566cf039d77514d57f458dbb5942199db4480e (diff)
downloadgsoc2013-epiphany-64d49d6ab067acf67500632f1e9ad681bd97b682.tar
gsoc2013-epiphany-64d49d6ab067acf67500632f1e9ad681bd97b682.tar.gz
gsoc2013-epiphany-64d49d6ab067acf67500632f1e9ad681bd97b682.tar.bz2
gsoc2013-epiphany-64d49d6ab067acf67500632f1e9ad681bd97b682.tar.lz
gsoc2013-epiphany-64d49d6ab067acf67500632f1e9ad681bd97b682.tar.xz
gsoc2013-epiphany-64d49d6ab067acf67500632f1e9ad681bd97b682.tar.zst
gsoc2013-epiphany-64d49d6ab067acf67500632f1e9ad681bd97b682.zip
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
-rw-r--r--src/ephy-location-controller.c3
1 files changed, 1 insertions, 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);
}
}