evince r3337 - in trunk: . shell
- From: carlosgc svn gnome org
- To: svn-commits-list gnome org
- Subject: evince r3337 - in trunk: . shell
- Date: Fri, 16 Jan 2009 08:49:26 +0000 (UTC)
Author: carlosgc
Date: Fri Jan 16 08:49:26 2009
New Revision: 3337
URL: http://svn.gnome.org/viewvc/evince?rev=3337&view=rev
Log:
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.
Modified:
trunk/ChangeLog
trunk/shell/ev-view.c
trunk/shell/ev-view.h
Modified: trunk/shell/ev-view.c
==============================================================================
--- trunk/shell/ev-view.c (original)
+++ trunk/shell/ev-view.c Fri Jan 16 08:49:26 2009
@@ -5045,7 +5045,7 @@
ev_view_set_zoom (view, scale, FALSE);
}
-static void
+void
ev_view_set_zoom_for_size (EvView *view,
int width,
int height,
Modified: trunk/shell/ev-view.h
==============================================================================
--- trunk/shell/ev-view.h (original)
+++ trunk/shell/ev-view.h Fri Jan 16 08:49:26 2009
@@ -96,6 +96,11 @@
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);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]