diff options
author | Xan Lopez <xan@src.gnome.org> | 2007-11-18 01:11:40 +0800 |
---|---|---|
committer | Xan Lopez <xan@src.gnome.org> | 2007-11-18 01:11:40 +0800 |
commit | adfea7bd0eb8a34d64d98cc215a0c97bf9465633 (patch) | |
tree | a4916c4fb420e63eff300c23091de42bf4cf1535 /embed/ephy-embed.c | |
parent | 44b538bb4dfcdd9d8989b8777c699f08dd034061 (diff) | |
download | gsoc2013-epiphany-adfea7bd0eb8a34d64d98cc215a0c97bf9465633.tar gsoc2013-epiphany-adfea7bd0eb8a34d64d98cc215a0c97bf9465633.tar.gz gsoc2013-epiphany-adfea7bd0eb8a34d64d98cc215a0c97bf9465633.tar.bz2 gsoc2013-epiphany-adfea7bd0eb8a34d64d98cc215a0c97bf9465633.tar.lz gsoc2013-epiphany-adfea7bd0eb8a34d64d98cc215a0c97bf9465633.tar.xz gsoc2013-epiphany-adfea7bd0eb8a34d64d98cc215a0c97bf9465633.tar.zst gsoc2013-epiphany-adfea7bd0eb8a34d64d98cc215a0c97bf9465633.zip |
Put visibility property into EphyBaseEmbed, we need it for popups.
svn path=/trunk/; revision=7712
Diffstat (limited to 'embed/ephy-embed.c')
-rw-r--r-- | embed/ephy-embed.c | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/embed/ephy-embed.c b/embed/ephy-embed.c index af8329b4b..042e323e0 100644 --- a/embed/ephy-embed.c +++ b/embed/ephy-embed.c @@ -1130,3 +1130,19 @@ ephy_embed_get_loading_title (EphyEmbed *embed) EphyEmbedIface *iface = EPHY_EMBED_GET_IFACE (embed); return iface->get_loading_title (embed); } + +/** + * ephy_embed_get_visibility: + * @embed: an #EphyEmbed + * + * Returns whether the @embed's toplevel is visible or not. Used + * mostly for popup visibility management. + * + * Return value; %TRUE if @embed's "visibility" property is set + **/ +gboolean +ephy_embed_get_visibility (EphyEmbed *embed) +{ + EphyEmbedIface *iface = EPHY_EMBED_GET_IFACE (embed); + return iface->get_visibility (embed); +} |