diff options
Diffstat (limited to 'embed/ephy-embed.c')
-rw-r--r-- | embed/ephy-embed.c | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/embed/ephy-embed.c b/embed/ephy-embed.c index 2a4404bf3..18c943f6b 100644 --- a/embed/ephy-embed.c +++ b/embed/ephy-embed.c @@ -720,3 +720,18 @@ ephy_embed_init (EphyEmbed *embed) GTK_POLICY_AUTOMATIC, GTK_POLICY_AUTOMATIC); } +/** + * ephy_embed_get_web_view: + * @embed: and #EphyEmbed + * + * Returns the #EphyWebView wrapped by @embed. + * + * Returns: an #EphyWebView + **/ +EphyWebView* +ephy_embed_get_web_view (EphyEmbed *embed) +{ + g_return_val_if_fail (EPHY_IS_EMBED (embed), NULL); + + return EPHY_WEB_VIEW (embed->priv->web_view); +} |