aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorDiego Escalante Urrelo <diegoe@src.gnome.org>2008-11-30 04:03:51 +0800
committerDiego Escalante Urrelo <diegoe@src.gnome.org>2008-11-30 04:03:51 +0800
commit62eb7a495d0eb5dcbbb5b4c59e56b256660b67c0 (patch)
tree09e4fa45c978b1ecc99836cee2e28eb7103a6132 /lib
parentbaa23249c25bde67614b4231a0e35042955dd186 (diff)
downloadgsoc2013-epiphany-62eb7a495d0eb5dcbbb5b4c59e56b256660b67c0.tar
gsoc2013-epiphany-62eb7a495d0eb5dcbbb5b4c59e56b256660b67c0.tar.gz
gsoc2013-epiphany-62eb7a495d0eb5dcbbb5b4c59e56b256660b67c0.tar.bz2
gsoc2013-epiphany-62eb7a495d0eb5dcbbb5b4c59e56b256660b67c0.tar.lz
gsoc2013-epiphany-62eb7a495d0eb5dcbbb5b4c59e56b256660b67c0.tar.xz
gsoc2013-epiphany-62eb7a495d0eb5dcbbb5b4c59e56b256660b67c0.tar.zst
gsoc2013-epiphany-62eb7a495d0eb5dcbbb5b4c59e56b256660b67c0.zip
Document lib/widgets/ephy-zoom-control.c
svn path=/trunk/; revision=8622
Diffstat (limited to 'lib')
-rw-r--r--lib/widgets/ephy-zoom-control.c17
1 files changed, 17 insertions, 0 deletions
diff --git a/lib/widgets/ephy-zoom-control.c b/lib/widgets/ephy-zoom-control.c
index 210f2b34a..9229d0b31 100644
--- a/lib/widgets/ephy-zoom-control.c
+++ b/lib/widgets/ephy-zoom-control.c
@@ -242,6 +242,14 @@ ephy_zoom_control_finalize (GObject *o)
G_OBJECT_CLASS (parent_class)->finalize (o);
}
+/**
+ * ephy_zoom_control_set_zoom_level:
+ * @control: an #EphyZoomControl
+ * @zoom: the new value for the zoom level
+ *
+ * Sets the zoom level of @control.
+ *
+ **/
void
ephy_zoom_control_set_zoom_level (EphyZoomControl *control, float zoom)
{
@@ -253,6 +261,15 @@ ephy_zoom_control_set_zoom_level (EphyZoomControl *control, float zoom)
g_object_notify (G_OBJECT (control), "zoom");
}
+/**
+ * ephy_zoom_control_get_zoom_level:
+ * @control: an #EphyZoomControl
+ *
+ * Get the current zoom level of @control.
+ *
+ * Returns: the zoom level as a float
+ *
+ **/
float
ephy_zoom_control_get_zoom_level (EphyZoomControl *control)
{