diff options
author | Xan Lopez <xan@src.gnome.org> | 2007-11-16 23:03:10 +0800 |
---|---|---|
committer | Xan Lopez <xan@src.gnome.org> | 2007-11-16 23:03:10 +0800 |
commit | b7d6a7384621691379618b0be22bef0f58b30414 (patch) | |
tree | 378d3377f3290f3461b23f25349579077ff0bdb3 /src/ephy-location-action.c | |
parent | 1b8bf4b88fb016020c822e5a9208a89ed8ebbdc4 (diff) | |
download | gsoc2013-epiphany-b7d6a7384621691379618b0be22bef0f58b30414.tar.gz gsoc2013-epiphany-b7d6a7384621691379618b0be22bef0f58b30414.tar.zst gsoc2013-epiphany-b7d6a7384621691379618b0be22bef0f58b30414.zip |
And port all the callers in src/
svn path=/trunk/; revision=7695
Diffstat (limited to 'src/ephy-location-action.c')
-rw-r--r-- | src/ephy-location-action.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/ephy-location-action.c b/src/ephy-location-action.c index 584a00e98..713ede9fb 100644 --- a/src/ephy-location-action.c +++ b/src/ephy-location-action.c @@ -1,3 +1,4 @@ +/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */ /* * Copyright © 2003, 2004 Marco Pesenti Gritti * Copyright © 2003, 2004 Christian Persch @@ -21,6 +22,7 @@ #include "config.h" +#include "ephy-embed-container.h" #include "ephy-location-action.h" #include "ephy-location-entry.h" #include "ephy-shell.h" @@ -285,7 +287,8 @@ get_location_cb (EphyLocationEntry *entry, EphyLocationActionPrivate *priv = action->priv; EphyEmbed *embed; - embed = ephy_window_get_active_tab (priv->window); + embed = ephy_embed_container_get_active_child + (EPHY_EMBED_CONTAINER (priv->window)); return g_strdup (ephy_embed_get_address (embed)); } @@ -296,7 +299,8 @@ get_title_cb (EphyLocationEntry *entry, { EphyEmbed *embed; - embed = ephy_window_get_active_tab (action->priv->window); + embed = ephy_embed_container_get_active_child + (EPHY_EMBED_CONTAINER (action->priv->window)); return g_strdup (ephy_embed_get_title (embed)); } |