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 /embed/ephy-embed-container.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 'embed/ephy-embed-container.c')
-rw-r--r-- | embed/ephy-embed-container.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/embed/ephy-embed-container.c b/embed/ephy-embed-container.c index 01e4c0520..301d3e082 100644 --- a/embed/ephy-embed-container.c +++ b/embed/ephy-embed-container.c @@ -75,15 +75,16 @@ ephy_embed_container_get_type (void) * @jump_to: %TRUE to switch to @container's new child after insertion * * Inserts @child into @container. + * Return value: @child's new position inside @container. **/ -void +gint ephy_embed_container_add_child (EphyEmbedContainer *container, EphyEmbed *child, gint position, gboolean jump_to) { EphyEmbedContainerIface *iface = EPHY_EMBED_CONTAINER_GET_IFACE (container); - iface->add_child (container, child, position, jump_to); + return iface->add_child (container, child, position, jump_to); } /** |