Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCarlos Garcia Campos <carlosgc@gnome.org>2009-08-24 13:59:41 (GMT)
committer Carlos Garcia Campos <carlosgc@gnome.org>2009-09-15 14:01:14 (GMT)
commitfd0e6768f0fe5db357cc6912b6c6a098dce9c420 (patch)
tree1c51b4e1df3e925f4ee041b2d7019ad075f23c0d
parentbdb09d6e4a74f1e1a4f9b7e8b753dfb29e7d4028 (diff)
[libview] Remove ev_view_set_screen_dpi() from EvView
-rw-r--r--libview/ev-view-private.h1
-rw-r--r--libview/ev-view.c10
-rw-r--r--libview/ev-view.h2
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,