diff options
Diffstat (limited to 'embed')
-rw-r--r-- | embed/webkit/webkit-embed.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/embed/webkit/webkit-embed.c b/embed/webkit/webkit-embed.c index 84851b0b9..80cdd3b82 100644 --- a/embed/webkit/webkit-embed.c +++ b/embed/webkit/webkit-embed.c @@ -435,13 +435,16 @@ impl_reload (EphyEmbed *embed, static float impl_get_zoom (EphyEmbed *embed) { - return 1.0; + float zoom = 1.0f; + g_object_get (WEBKIT_EMBED (embed)->priv->web_view, "zoom-level", &zoom, NULL); + return zoom; } static void impl_set_zoom (EphyEmbed *embed, float zoom) { + g_object_set (WEBKIT_EMBED (embed)->priv->web_view, "zoom-level", zoom, NULL); } static void |