aboutsummaryrefslogtreecommitdiffstats
path: root/src/ephy-location-action.c
diff options
context:
space:
mode:
authorChristian Persch <chpe@src.gnome.org>2007-10-28 21:58:23 +0800
committerChristian Persch <chpe@src.gnome.org>2007-10-28 21:58:23 +0800
commit037763011566438d8a54bebca23c783b5b625b49 (patch)
tree18e188ca7c845c7641075dd1637b7339ee071445 /src/ephy-location-action.c
parent19e94245678000610dec21482045b43126ba45cc (diff)
downloadgsoc2013-epiphany-037763011566438d8a54bebca23c783b5b625b49.tar
gsoc2013-epiphany-037763011566438d8a54bebca23c783b5b625b49.tar.gz
gsoc2013-epiphany-037763011566438d8a54bebca23c783b5b625b49.tar.bz2
gsoc2013-epiphany-037763011566438d8a54bebca23c783b5b625b49.tar.lz
gsoc2013-epiphany-037763011566438d8a54bebca23c783b5b625b49.tar.xz
gsoc2013-epiphany-037763011566438d8a54bebca23c783b5b625b49.tar.zst
gsoc2013-epiphany-037763011566438d8a54bebca23c783b5b625b49.zip
Remove EphyTab.
svn path=/trunk/; revision=7596
Diffstat (limited to 'src/ephy-location-action.c')
-rw-r--r--src/ephy-location-action.c13
1 files changed, 6 insertions, 7 deletions
diff --git a/src/ephy-location-action.c b/src/ephy-location-action.c
index 589bbeeaf..584a00e98 100644
--- a/src/ephy-location-action.c
+++ b/src/ephy-location-action.c
@@ -283,23 +283,22 @@ get_location_cb (EphyLocationEntry *entry,
EphyLocationAction *action)
{
EphyLocationActionPrivate *priv = action->priv;
- EphyTab *tab;
+ EphyEmbed *embed;
- tab = ephy_window_get_active_tab (priv->window);
- g_return_val_if_fail (tab != NULL, NULL);
+ embed = ephy_window_get_active_tab (priv->window);
- return g_strdup (ephy_embed_get_address (ephy_tab_get_embed (tab)));
+ return g_strdup (ephy_embed_get_address (embed));
}
static char *
get_title_cb (EphyLocationEntry *entry,
EphyLocationAction *action)
{
- EphyTab *tab;
+ EphyEmbed *embed;
- tab = ephy_window_get_active_tab (action->priv->window);
+ embed = ephy_window_get_active_tab (action->priv->window);
- return g_strdup (ephy_embed_get_title (ephy_tab_get_embed (tab)));
+ return g_strdup (ephy_embed_get_title (embed));
}
static void