[epiphany] location-controller: remove references to "proxy"
- From: Cosimo Cecchi <cosimoc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [epiphany] location-controller: remove references to "proxy"
- Date: Fri, 20 Jan 2012 01:11:38 +0000 (UTC)
commit 5ffe2e765aeb632d8811a8e1dbafc228ba23ee73
Author: Cosimo Cecchi <cosimoc gnome org>
Date: Thu Jan 19 17:13:07 2012 -0500
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
src/ephy-location-controller.c | 14 +++++++-------
1 files changed, 7 insertions(+), 7 deletions(-)
---
diff --git a/src/ephy-location-controller.c b/src/ephy-location-controller.c
index 2ff5468..698a966 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);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]