[evince] [libview] Remove ev_view_set_screen_dpi() from EvView
- From: Carlos Garcia Campos <carlosgc src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [evince] [libview] Remove ev_view_set_screen_dpi() from EvView
- Date: Tue, 15 Sep 2009 14:12:15 +0000 (UTC)
commit fd0e6768f0fe5db357cc6912b6c6a098dce9c420
Author: Carlos Garcia Campos <carlosgc gnome org>
Date: Mon Aug 24 15:59:41 2009 +0200
[libview] Remove ev_view_set_screen_dpi() from EvView
libview/ev-view-private.h | 1 -
libview/ev-view.c | 10 ----------
libview/ev-view.h | 2 --
3 files changed, 0 insertions(+), 13 deletions(-)
---
diff --git a/libview/ev-view-private.h b/libview/ev-view-private.h
index a2710a9..c3c7554 100644
--- a/libview/ev-view-private.h
+++ b/libview/ev-view-private.h
@@ -161,7 +161,6 @@ struct _EvView {
gint rotation;
gdouble scale;
gint spacing;
- gdouble dpi;
gboolean loading;
gboolean continuous;
diff --git a/libview/ev-view.c b/libview/ev-view.c
index 8305308..526696e 100644
--- a/libview/ev-view.c
+++ b/libview/ev-view.c
@@ -5209,16 +5209,6 @@ ev_view_get_zoom (EvView *view)
return view->scale;
}
-void
-ev_view_set_screen_dpi (EvView *view,
- gdouble dpi)
-{
- g_return_if_fail (EV_IS_VIEW (view));
- g_return_if_fail (dpi > 0);
-
- view->dpi = dpi;
-}
-
gboolean
ev_view_get_continuous (EvView *view)
{
diff --git a/libview/ev-view.h b/libview/ev-view.h
index 53bc7c8..fde6854 100644
--- a/libview/ev-view.h
+++ b/libview/ev-view.h
@@ -89,8 +89,6 @@ void ev_view_zoom_out (EvView *view);
void ev_view_set_zoom (EvView *view,
double factor);
double ev_view_get_zoom (EvView *view);
-void ev_view_set_screen_dpi (EvView *view,
- gdouble dpi);
void ev_view_rotate_left (EvView *view);
void ev_view_rotate_right (EvView *view);
void ev_view_set_rotation (EvView *view,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]