diff options
author | Xan Lopez <xan@src.gnome.org> | 2007-11-17 02:06:54 +0800 |
---|---|---|
committer | Xan Lopez <xan@src.gnome.org> | 2007-11-17 02:06:54 +0800 |
commit | c9587f416cc719e537c0f931531c1a64f2ce1ddc (patch) | |
tree | ac1fb93e5e08303723b9c683cbcf18c5ce2b0e71 /src/ephy-window.c | |
parent | 41ca258bfd0ee58b63e4ac9dfb8d62c9a696f105 (diff) | |
download | gsoc2013-epiphany-c9587f416cc719e537c0f931531c1a64f2ce1ddc.tar.gz gsoc2013-epiphany-c9587f416cc719e537c0f931531c1a64f2ce1ddc.tar.zst gsoc2013-epiphany-c9587f416cc719e537c0f931531c1a64f2ce1ddc.zip |
Make EphyEmbedContainer add_child method return the child's new position inside the container.
svn path=/trunk/; revision=7700
Diffstat (limited to 'src/ephy-window.c')
-rw-r--r-- | src/ephy-window.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/ephy-window.c b/src/ephy-window.c index 7d049eb83..416a8501b 100644 --- a/src/ephy-window.c +++ b/src/ephy-window.c @@ -479,7 +479,7 @@ enum SENS_FLAG_NAVIGATION = 1 << 4 }; -static void +static gint ephy_window_add_child (EphyEmbedContainer *container, EphyEmbed *child, gint position, @@ -497,6 +497,8 @@ ephy_window_add_child (EphyEmbedContainer *container, ephy_notebook_add_tab (EPHY_NOTEBOOK (window->priv->notebook), child, position, jump_to); + + return position; } static void |