aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorCosimo Cecchi <cosimoc@gnome.org>2012-01-20 06:13:07 +0800
committerCosimo Cecchi <cosimoc@gnome.org>2012-01-20 09:11:20 +0800
commit5ffe2e765aeb632d8811a8e1dbafc228ba23ee73 (patch)
treea352a713e0506588bc13a3562afc59efbcccd11f /src
parent64d49d6ab067acf67500632f1e9ad681bd97b682 (diff)
downloadgsoc2013-epiphany-5ffe2e765aeb632d8811a8e1dbafc228ba23ee73.tar
gsoc2013-epiphany-5ffe2e765aeb632d8811a8e1dbafc228ba23ee73.tar.gz
gsoc2013-epiphany-5ffe2e765aeb632d8811a8e1dbafc228ba23ee73.tar.bz2
gsoc2013-epiphany-5ffe2e765aeb632d8811a8e1dbafc228ba23ee73.tar.lz
gsoc2013-epiphany-5ffe2e765aeb632d8811a8e1dbafc228ba23ee73.tar.xz
gsoc2013-epiphany-5ffe2e765aeb632d8811a8e1dbafc228ba23ee73.tar.zst
gsoc2013-epiphany-5ffe2e765aeb632d8811a8e1dbafc228ba23ee73.zip
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
Diffstat (limited to 'src')
-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);