aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorChristian Persch <chpe@src.gnome.org>2007-11-17 02:54:25 +0800
committerChristian Persch <chpe@src.gnome.org>2007-11-17 02:54:25 +0800
commit3a501b5211ea21b19b93a1574c916c5b3c375d3b (patch)
tree8c84663a1a6d9964630502e39288daa2761f66c1 /src
parentbbc813a37feca5e67d2a69e6aba1cd39458660a6 (diff)
downloadgsoc2013-epiphany-3a501b5211ea21b19b93a1574c916c5b3c375d3b.tar
gsoc2013-epiphany-3a501b5211ea21b19b93a1574c916c5b3c375d3b.tar.gz
gsoc2013-epiphany-3a501b5211ea21b19b93a1574c916c5b3c375d3b.tar.bz2
gsoc2013-epiphany-3a501b5211ea21b19b93a1574c916c5b3c375d3b.tar.lz
gsoc2013-epiphany-3a501b5211ea21b19b93a1574c916c5b3c375d3b.tar.xz
gsoc2013-epiphany-3a501b5211ea21b19b93a1574c916c5b3c375d3b.tar.zst
gsoc2013-epiphany-3a501b5211ea21b19b93a1574c916c5b3c375d3b.zip
Return the new tab's position.
svn path=/trunk/; revision=7704
Diffstat (limited to 'src')
-rw-r--r--src/ephy-window.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/ephy-window.c b/src/ephy-window.c
index 85067efef..07a16d32a 100644
--- a/src/ephy-window.c
+++ b/src/ephy-window.c
@@ -495,10 +495,8 @@ ephy_window_add_child (EphyEmbedContainer *container,
g_return_val_if_fail (!window->priv->is_popup ||
gtk_notebook_get_n_pages (GTK_NOTEBOOK (window->priv->notebook)) < 1, -1);
- ephy_notebook_add_tab (EPHY_NOTEBOOK (window->priv->notebook),
- child, position, jump_to);
-
- return position;
+ return ephy_notebook_add_tab (EPHY_NOTEBOOK (window->priv->notebook),
+ child, position, jump_to);
}
static void