aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/ephy-nautilus-view.c12
-rw-r--r--src/ephy-tab.c6
-rw-r--r--src/ephy-window.c4
3 files changed, 11 insertions, 11 deletions
diff --git a/src/ephy-nautilus-view.c b/src/ephy-nautilus-view.c
index ef8b64a7d..db379cd6d 100644
--- a/src/ephy-nautilus-view.c
+++ b/src/ephy-nautilus-view.c
@@ -577,7 +577,7 @@ gnv_zoomable_set_zoom_level_cb (BonoboZoomable *zoomable,
EphyNautilusView *view)
{
g_return_if_fail (EPHY_IS_NAUTILUS_VIEW (view));
- ephy_embed_zoom_set (view->priv->embed,
+ ephy_embed_set_zoom (view->priv->embed,
ephy_zoom_get_nearest_zoom_level (level), TRUE);
}
@@ -589,10 +589,10 @@ gnv_zoomable_zoom_in_cb (BonoboZoomable *zoomable,
g_return_if_fail (EPHY_IS_NAUTILUS_VIEW (view));
- zoom = ephy_embed_zoom_get (view->priv->embed);
+ zoom = ephy_embed_get_zoom (view->priv->embed);
new_zoom = ephy_zoom_get_changed_zoom_level (zoom, 1);
- ephy_embed_zoom_set (view->priv->embed, new_zoom, TRUE);
+ ephy_embed_set_zoom (view->priv->embed, new_zoom, TRUE);
}
static void
@@ -603,10 +603,10 @@ gnv_zoomable_zoom_out_cb (BonoboZoomable *zoomable,
g_return_if_fail (EPHY_IS_NAUTILUS_VIEW (view));
- zoom = ephy_embed_zoom_get (view->priv->embed);
+ zoom = ephy_embed_get_zoom (view->priv->embed);
new_zoom = ephy_zoom_get_changed_zoom_level (zoom, -1);
- ephy_embed_zoom_set (view->priv->embed, new_zoom, TRUE);
+ ephy_embed_set_zoom (view->priv->embed, new_zoom, TRUE);
}
static void
@@ -621,7 +621,7 @@ gnv_zoomable_zoom_to_default_cb (BonoboZoomable *zoomable,
EphyNautilusView *view)
{
g_return_if_fail (EPHY_IS_NAUTILUS_VIEW (view));
- ephy_embed_zoom_set (view->priv->embed, 1.0, TRUE);
+ ephy_embed_set_zoom (view->priv->embed, 1.0, TRUE);
}
static void
diff --git a/src/ephy-tab.c b/src/ephy-tab.c
index 622033614..db364b9f1 100644
--- a/src/ephy-tab.c
+++ b/src/ephy-tab.c
@@ -696,11 +696,11 @@ ephy_tab_address_cb (EphyEmbed *embed, const char *address, EphyTab *tab)
g_value_unset (&value);
}
- current_zoom = ephy_embed_zoom_get (embed);
+ current_zoom = ephy_embed_get_zoom (embed);
if (zoom != current_zoom)
{
tab->priv->setting_zoom = TRUE;
- ephy_embed_zoom_set (embed, zoom, FALSE);
+ ephy_embed_set_zoom (embed, zoom, FALSE);
tab->priv->setting_zoom = FALSE;
}
}
@@ -734,7 +734,7 @@ ephy_tab_zoom_changed_cb (EphyEmbed *embed, float zoom, EphyTab *tab)
{
float zoom;
- zoom = ephy_embed_zoom_get (embed);
+ zoom = ephy_embed_get_zoom (embed);
g_value_init (&value, G_TYPE_FLOAT);
g_value_set_float (&value, zoom);
diff --git a/src/ephy-window.c b/src/ephy-window.c
index 9750f4037..d3069ba36 100644
--- a/src/ephy-window.c
+++ b/src/ephy-window.c
@@ -2550,7 +2550,7 @@ ephy_window_set_zoom (EphyWindow *window,
embed = ephy_window_get_active_embed (window);
g_return_if_fail (embed != NULL);
- current_zoom = ephy_embed_zoom_get (embed);
+ current_zoom = ephy_embed_get_zoom (embed);
if (zoom == ZOOM_IN)
{
@@ -2563,7 +2563,7 @@ ephy_window_set_zoom (EphyWindow *window,
if (zoom != current_zoom)
{
- ephy_embed_zoom_set (embed, zoom, TRUE);
+ ephy_embed_set_zoom (embed, zoom, TRUE);
}
}