aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristian Persch <chpe@src.gnome.org>2007-10-28 21:26:42 +0800
committerChristian Persch <chpe@src.gnome.org>2007-10-28 21:26:42 +0800
commit4205b930178d83277654437e52449b17bc29dc93 (patch)
treee4c80d92b243f47ee1c05808fb30458cd3a93f03
parent0021ea0c8715fb868a82869d7ee16b13815356c9 (diff)
downloadgsoc2013-epiphany-4205b930178d83277654437e52449b17bc29dc93.tar
gsoc2013-epiphany-4205b930178d83277654437e52449b17bc29dc93.tar.gz
gsoc2013-epiphany-4205b930178d83277654437e52449b17bc29dc93.tar.bz2
gsoc2013-epiphany-4205b930178d83277654437e52449b17bc29dc93.tar.lz
gsoc2013-epiphany-4205b930178d83277654437e52449b17bc29dc93.tar.xz
gsoc2013-epiphany-4205b930178d83277654437e52449b17bc29dc93.tar.zst
gsoc2013-epiphany-4205b930178d83277654437e52449b17bc29dc93.zip
Remove EphyTab.
svn path=/trunk/; revision=7588
-rw-r--r--src/ephy-toolbar.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/ephy-toolbar.c b/src/ephy-toolbar.c
index ccd03ece6..613a52463 100644
--- a/src/ephy-toolbar.c
+++ b/src/ephy-toolbar.c
@@ -168,20 +168,20 @@ sync_user_input_cb (EphyLocationAction *action,
EphyToolbar *toolbar)
{
EphyToolbarPrivate *priv = toolbar->priv;
- EphyTab *tab;
+ EphyEmbed *embed;
const char *address;
LOG ("sync_user_input_cb");
if (priv->updating_address) return;
- tab = ephy_window_get_active_tab (priv->window);
- g_return_if_fail (EPHY_IS_TAB (tab));
+ embed = ephy_window_get_active_tab (priv->window);
+ g_assert (EPHY_IS_EMBED (embed));
address = ephy_location_action_get_address (action);
priv->updating_address = TRUE;
- ephy_embed_set_typed_address (ephy_tab_get_embed (tab), address,
+ ephy_embed_set_typed_address (embed, address,
EPHY_EMBED_ADDRESS_EXPIRE_CURRENT);
priv->updating_address = FALSE;
}