aboutsummaryrefslogtreecommitdiffstats
path: root/embed/ephy-embed.c
diff options
context:
space:
mode:
authorXan Lopez <xan@src.gnome.org>2008-07-01 05:27:18 +0800
committerXan Lopez <xan@src.gnome.org>2008-07-01 05:27:18 +0800
commit1e829eefa511c3463deddb7c3d99d4c27960e077 (patch)
tree9a38757672b796632a674408390a2611529c1261 /embed/ephy-embed.c
parent76dd77e2f40b6e2de50716117c3abd2c49e528a4 (diff)
downloadgsoc2013-epiphany-1e829eefa511c3463deddb7c3d99d4c27960e077.tar
gsoc2013-epiphany-1e829eefa511c3463deddb7c3d99d4c27960e077.tar.gz
gsoc2013-epiphany-1e829eefa511c3463deddb7c3d99d4c27960e077.tar.bz2
gsoc2013-epiphany-1e829eefa511c3463deddb7c3d99d4c27960e077.tar.lz
gsoc2013-epiphany-1e829eefa511c3463deddb7c3d99d4c27960e077.tar.xz
gsoc2013-epiphany-1e829eefa511c3463deddb7c3d99d4c27960e077.tar.zst
gsoc2013-epiphany-1e829eefa511c3463deddb7c3d99d4c27960e077.zip
embed: remove ephy_embed_{set,get}_zoom.
Set zoom-level on the WebKitWebView directly. svn path=/trunk/; revision=8327
Diffstat (limited to 'embed/ephy-embed.c')
-rw-r--r--embed/ephy-embed.c35
1 files changed, 0 insertions, 35 deletions
diff --git a/embed/ephy-embed.c b/embed/ephy-embed.c
index 2260b112d..71db600b2 100644
--- a/embed/ephy-embed.c
+++ b/embed/ephy-embed.c
@@ -504,41 +504,6 @@ ephy_embed_get_js_status (EphyEmbed *embed)
}
/**
- * ephy_embed_set_zoom:
- * @embed: an #EphyEmbed
- * @zoom: the new zoom level
- *
- * Sets the zoom level for a web page.
- *
- * Zoom is normally controlled by the Epiphany itself and remembered in
- * Epiphany's history data. Be very careful not to break this behavior if using
- * this function; better yet, don't use this function at all.
- **/
-void
-ephy_embed_set_zoom (EphyEmbed *embed,
- float zoom)
-{
- EphyEmbedIface *iface = EPHY_EMBED_GET_IFACE (embed);
- iface->set_zoom (embed, zoom);
-}
-
-/**
- * ephy_embed_get_zoom:
- * @embed: an #EphyEmbed
- *
- * Returns the zoom level of @embed. A zoom of 1.0 corresponds to 100% (normal
- * size).
- *
- * Return value: the zoom level of @embed
- **/
-float
-ephy_embed_get_zoom (EphyEmbed *embed)
-{
- EphyEmbedIface *iface = EPHY_EMBED_GET_IFACE (embed);
- return iface->get_zoom (embed);
-}
-
-/**
* ephy_embed_scroll:
* @embed: an #EphyEmbed
* @num_lines: The number of lines to scroll by