aboutsummaryrefslogtreecommitdiffstats
path: root/embed/ephy-embed-container.c
diff options
context:
space:
mode:
authorXan Lopez <xan@src.gnome.org>2007-11-17 02:53:41 +0800
committerXan Lopez <xan@src.gnome.org>2007-11-17 02:53:41 +0800
commitbbc813a37feca5e67d2a69e6aba1cd39458660a6 (patch)
treece01afb782f13c99b3185872fa6620fc2809bfca /embed/ephy-embed-container.c
parent7a04f9035bafcbaab6d01fe0cb65b0fa7bc7b6ad (diff)
downloadgsoc2013-epiphany-bbc813a37feca5e67d2a69e6aba1cd39458660a6.tar.gz
gsoc2013-epiphany-bbc813a37feca5e67d2a69e6aba1cd39458660a6.tar.zst
gsoc2013-epiphany-bbc813a37feca5e67d2a69e6aba1cd39458660a6.zip
Move active-tab property to the embed-container interface.
Rename it to active-child and fix a bug in the set_property function in EphyWindow, where the wrong function was being called for this property. svn path=/trunk/; revision=7703
Diffstat (limited to 'embed/ephy-embed-container.c')
-rw-r--r--embed/ephy-embed-container.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/embed/ephy-embed-container.c b/embed/ephy-embed-container.c
index 301d3e082..083730185 100644
--- a/embed/ephy-embed-container.c
+++ b/embed/ephy-embed-container.c
@@ -43,6 +43,10 @@ ephy_embed_container_base_init (gpointer g_class)
FALSE,
G_PARAM_READWRITE | G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB |
G_PARAM_CONSTRUCT_ONLY));
+ g_object_interface_install_property (g_class,
+ g_param_spec_object ("active-child", NULL, NULL,
+ GTK_TYPE_WIDGET /* Can't use an interface type here */,
+ G_PARAM_READWRITE | G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB));
}
}