summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCosimo Cecchi <cosimoc@gnome.org>2012-01-19 17:13:07 -0500
committerCosimo Cecchi <cosimoc@gnome.org>2012-01-19 20:11:20 -0500
commit5ffe2e765aeb632d8811a8e1dbafc228ba23ee73 (patch)
treea352a713e0506588bc13a3562afc59efbcccd11f
parent64d49d6ab067acf67500632f1e9ad681bd97b682 (diff)
downloadepiphany-5ffe2e765aeb632d8811a8e1dbafc228ba23ee73.tar.gz
location-controller: remove references to "proxy"
We're not a GtkAction anymore, so referencing "proxy" in the code is a bit misleading. https://bugzilla.gnome.org/show_bug.cgi?id=668305
-rw-r--r--src/ephy-location-controller.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/ephy-location-controller.c b/src/ephy-location-controller.c
index 2ff546880..698a966ab 100644
--- a/src/ephy-location-controller.c
+++ b/src/ephy-location-controller.c
@@ -62,11 +62,11 @@ struct _EphyLocationControllerPrivate
static void ephy_location_controller_init (EphyLocationController *controller);
static void ephy_location_controller_class_init (EphyLocationControllerClass *class);
static void ephy_location_controller_finalize (GObject *object);
-static void user_changed_cb (GtkWidget *proxy,
+static void user_changed_cb (GtkWidget *widget,
EphyLocationController *controller);
static void sync_address (EphyLocationController *controller,
GParamSpec *pspec,
- GtkWidget *proxy);
+ GtkWidget *widget);
enum
{
@@ -210,21 +210,21 @@ entry_activate_cb (GtkEntry *entry,
}
static void
-user_changed_cb (GtkWidget *proxy, EphyLocationController *controller)
+user_changed_cb (GtkWidget *widget, EphyLocationController *controller)
{
const char *address;
- address = ephy_location_entry_get_location (EPHY_LOCATION_ENTRY (proxy));
+ address = ephy_location_entry_get_location (EPHY_LOCATION_ENTRY (widget));
LOG ("user_changed_cb, new address %s", address);
- g_signal_handlers_block_by_func (controller, G_CALLBACK (sync_address), proxy);
+ g_signal_handlers_block_by_func (controller, G_CALLBACK (sync_address), widget);
ephy_location_controller_set_address (controller, address);
- g_signal_handlers_unblock_by_func (controller, G_CALLBACK (sync_address), proxy);
+ g_signal_handlers_unblock_by_func (controller, G_CALLBACK (sync_address), widget);
}
static void
-lock_clicked_cb (GtkWidget *proxy,
+lock_clicked_cb (GtkWidget *widget,
EphyLocationController *controller)
{
g_signal_emit (controller, signals[LOCK_CLICKED], 0);