2009-01-16 Tomeu Vizoso <tomeu@sugarlabs.org>
* shell/ev-view.c: (ev_view_set_zoom_for_size):
Expose ev_view_set_zoom_for_size for embedders to use. Fixes bug
#567785.
svn path=/trunk/; revision=3337
+2009-01-16 Tomeu Vizoso <tomeu@sugarlabs.org>
+
+ * shell/ev-view.c: (ev_view_set_zoom_for_size):
+
+ Expose ev_view_set_zoom_for_size for embedders to use. Fixes bug
+ #567785.
+
2009-01-16 Carlos Garcia Campos <carlosgc@gnome.org>
* shell/ev-window.c: (reload_remote_copy_progress_cb),
ev_view_set_zoom (view, scale, FALSE);
}
-static void
+void
ev_view_set_zoom_for_size (EvView *view,
int width,
int height,
void ev_view_set_zoom (EvView *view,
double factor,
gboolean relative);
+void ev_view_set_zoom_for_size (EvView *view,
+ int width,
+ int height,
+ int vsb_width,
+ int hsb_height);
double ev_view_get_zoom (EvView *view);
void ev_view_set_screen_dpi (EvView *view,
gdouble dpi);