aboutsummaryrefslogtreecommitdiffstats
path: root/embed
diff options
context:
space:
mode:
authorXan Lopez <xan@src.gnome.org>2008-07-03 03:18:59 +0800
committerXan Lopez <xan@src.gnome.org>2008-07-03 03:18:59 +0800
commit1a2c45a09867791d52cd74b280395dd646162523 (patch)
tree1b4d4d298e44ea333a100e4d251279948f2dfc30 /embed
parent9dc44b16830dfa9f1b82f6af82ff4578beb6bc36 (diff)
downloadgsoc2013-epiphany-1a2c45a09867791d52cd74b280395dd646162523.tar
gsoc2013-epiphany-1a2c45a09867791d52cd74b280395dd646162523.tar.gz
gsoc2013-epiphany-1a2c45a09867791d52cd74b280395dd646162523.tar.bz2
gsoc2013-epiphany-1a2c45a09867791d52cd74b280395dd646162523.tar.lz
gsoc2013-epiphany-1a2c45a09867791d52cd74b280395dd646162523.tar.xz
gsoc2013-epiphany-1a2c45a09867791d52cd74b280395dd646162523.tar.zst
gsoc2013-epiphany-1a2c45a09867791d52cd74b280395dd646162523.zip
embed: forgot to uncomment this when re-enabling restore zoom.
svn path=/trunk/; revision=8331
Diffstat (limited to 'embed')
-rw-r--r--embed/webkit/webkit-embed.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/embed/webkit/webkit-embed.c b/embed/webkit/webkit-embed.c
index a4863ee21..15fd046fb 100644
--- a/embed/webkit/webkit-embed.c
+++ b/embed/webkit/webkit-embed.c
@@ -265,15 +265,9 @@ webkit_web_view_zoom_change_cb (WebKitWebView *web_view,
"zoom-level", &zoom,
NULL);
- /* TODO: need to move the is_setting_zoom flag
- * somewhere else. It's set by restoring_zoom
- * in base_embed, which is unused right now. Should
- * be called each time we load a page in a web_view
-
- if (bembed->priv->is_setting_zoom) {
+ if (WEBKIT_EMBED (embed)->priv->is_setting_zoom) {
return;
}
- */
address = ephy_embed_get_location (embed, TRUE);
if (ephy_embed_utils_address_has_web_scheme (address)) {