aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorAdam Hooper <adamh@src.gnome.org>2004-03-26 03:09:44 +0800
committerAdam Hooper <adamh@src.gnome.org>2004-03-26 03:09:44 +0800
commit1a84ef9f76056a2805a837bb45209a3746cdb521 (patch)
treed0638c70653ae50d2ec4fae814d7fd4e2353e4f6 /src
parent867777faceb7b4eba5b58b4e8edb23edfeeb8287 (diff)
downloadgsoc2013-epiphany-1a84ef9f76056a2805a837bb45209a3746cdb521.tar
gsoc2013-epiphany-1a84ef9f76056a2805a837bb45209a3746cdb521.tar.gz
gsoc2013-epiphany-1a84ef9f76056a2805a837bb45209a3746cdb521.tar.bz2
gsoc2013-epiphany-1a84ef9f76056a2805a837bb45209a3746cdb521.tar.lz
gsoc2013-epiphany-1a84ef9f76056a2805a837bb45209a3746cdb521.tar.xz
gsoc2013-epiphany-1a84ef9f76056a2805a837bb45209a3746cdb521.tar.zst
gsoc2013-epiphany-1a84ef9f76056a2805a837bb45209a3746cdb521.zip
Documented EphyEmbed
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);
}
}