aboutsummaryrefslogtreecommitdiffstats
path: root/embed
diff options
context:
space:
mode:
authorChristian Persch <chpe@src.gnome.org>2007-11-17 03:40:51 +0800
committerChristian Persch <chpe@src.gnome.org>2007-11-17 03:40:51 +0800
commitb509828635066e0ce051fe77333acfb7d29d500f (patch)
treea6c17fa962fa565ad0631db1e854244d9c3c8d1a /embed
parentc8e725445775b36f1e25ff7148b4927ae24e8b89 (diff)
downloadgsoc2013-epiphany-b509828635066e0ce051fe77333acfb7d29d500f.tar
gsoc2013-epiphany-b509828635066e0ce051fe77333acfb7d29d500f.tar.gz
gsoc2013-epiphany-b509828635066e0ce051fe77333acfb7d29d500f.tar.bz2
gsoc2013-epiphany-b509828635066e0ce051fe77333acfb7d29d500f.tar.lz
gsoc2013-epiphany-b509828635066e0ce051fe77333acfb7d29d500f.tar.xz
gsoc2013-epiphany-b509828635066e0ce051fe77333acfb7d29d500f.tar.zst
gsoc2013-epiphany-b509828635066e0ce051fe77333acfb7d29d500f.zip
Rename param to "set_active".
svn path=/trunk/; revision=7708
Diffstat (limited to 'embed')
-rw-r--r--embed/ephy-embed-container.c8
-rw-r--r--embed/ephy-embed-container.h4
2 files changed, 7 insertions, 5 deletions
diff --git a/embed/ephy-embed-container.c b/embed/ephy-embed-container.c
index 057f9842f..64223eeda 100644
--- a/embed/ephy-embed-container.c
+++ b/embed/ephy-embed-container.c
@@ -76,16 +76,18 @@ ephy_embed_container_get_type (void)
* @container: an #EphyEmbedContainer
* @child: an #EphyEmbed
* @position: the position in @container's
- * @jump_to: %TRUE to switch to @container's new child after insertion
+ * @set_active: whether to set @embed as the active child of @container
+ * after insertion
*
* Inserts @child into @container.
+ *
* Return value: @child's new position inside @container.
**/
gint
ephy_embed_container_add_child (EphyEmbedContainer *container,
EphyEmbed *child,
gint position,
- gboolean jump_to)
+ gboolean set_active)
{
EphyEmbedContainerIface *iface;
@@ -93,7 +95,7 @@ ephy_embed_container_add_child (EphyEmbedContainer *container,
g_return_val_if_fail (EPHY_IS_EMBED (child), -1);
iface = EPHY_EMBED_CONTAINER_GET_IFACE (container);
- return iface->add_child (container, child, position, jump_to);
+ return iface->add_child (container, child, position, set_active);
}
/**
diff --git a/embed/ephy-embed-container.h b/embed/ephy-embed-container.h
index 448203e3b..3da295362 100644
--- a/embed/ephy-embed-container.h
+++ b/embed/ephy-embed-container.h
@@ -42,7 +42,7 @@ struct _EphyEmbedContainerIface
gint (* add_child) (EphyEmbedContainer *container,
EphyEmbed *child,
gint position,
- gboolean jump_to);
+ gboolean set_active);
void (* set_active_child) (EphyEmbedContainer *container,
EphyEmbed *child);
@@ -64,7 +64,7 @@ GType ephy_embed_container_get_type (void);
gint ephy_embed_container_add_child (EphyEmbedContainer *container,
EphyEmbed *child,
gint position,
- gboolean jump_to);
+ gboolean set_active);
void ephy_embed_container_set_active_child (EphyEmbedContainer *container,
EphyEmbed *child);