aboutsummaryrefslogtreecommitdiffstats
path: root/src/ephy-location-action.c
diff options
context:
space:
mode:
authorXan Lopez <xan@src.gnome.org>2009-02-08 20:15:25 +0800
committerXan Lopez <xan@src.gnome.org>2009-02-08 20:15:25 +0800
commitcbea51644e5143aaa535a972174a0269a63d2505 (patch)
tree703013248984e6ff19005a3201a4184e1b2523d4 /src/ephy-location-action.c
parent2d0e1157e413c2dfaf7101b025fa929513676bc9 (diff)
downloadgsoc2013-epiphany-cbea51644e5143aaa535a972174a0269a63d2505.tar
gsoc2013-epiphany-cbea51644e5143aaa535a972174a0269a63d2505.tar.gz
gsoc2013-epiphany-cbea51644e5143aaa535a972174a0269a63d2505.tar.bz2
gsoc2013-epiphany-cbea51644e5143aaa535a972174a0269a63d2505.tar.lz
gsoc2013-epiphany-cbea51644e5143aaa535a972174a0269a63d2505.tar.xz
gsoc2013-epiphany-cbea51644e5143aaa535a972174a0269a63d2505.tar.zst
gsoc2013-epiphany-cbea51644e5143aaa535a972174a0269a63d2505.zip
Use gtk_activatable_get_related_action instead of the deprecated gtk_widget_get_action.
svn path=/trunk/; revision=8771
Diffstat (limited to 'src/ephy-location-action.c')
-rw-r--r--src/ephy-location-action.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/ephy-location-action.c b/src/ephy-location-action.c
index 94deac3cd..cda3a117b 100644
--- a/src/ephy-location-action.c
+++ b/src/ephy-location-action.c
@@ -182,7 +182,7 @@ entry_activate_cb (GtkEntry *entry,
char *address;
GtkAction *action;
- action = gtk_widget_get_action (GTK_WIDGET (proxy));
+ action = gtk_activatable_get_related_action (GTK_ACTIVATABLE (proxy));
if (EPHY_LOCATION_ACTION (action)->priv->sync_address_is_blocked)
{
@@ -397,7 +397,7 @@ focus_in_event_cb (GtkWidget *entry,
GtkWidget *proxy)
{
GtkAction *action;
- action = gtk_widget_get_action (proxy);
+ action = gtk_activatable_get_related_action (GTK_ACTIVATABLE (proxy));
if (!EPHY_LOCATION_ACTION (action)->priv->sync_address_is_blocked)
{
@@ -414,7 +414,7 @@ focus_out_event_cb (GtkWidget *entry,
GtkWidget *proxy)
{
GtkAction *action;
- action = gtk_widget_get_action (GTK_WIDGET (proxy));
+ action = gtk_activatable_get_related_action (GTK_ACTIVATABLE (proxy));
if (EPHY_LOCATION_ACTION (action)->priv->sync_address_is_blocked)
{