]> www.fi.muni.cz Git - evince.git/commitdiff
[libview] Remove ev_view_set_screen_dpi() from EvView
authorCarlos Garcia Campos <carlosgc@gnome.org>
Mon, 24 Aug 2009 13:59:41 +0000 (15:59 +0200)
committerCarlos Garcia Campos <carlosgc@gnome.org>
Tue, 15 Sep 2009 14:01:14 +0000 (16:01 +0200)
libview/ev-view-private.h
libview/ev-view.c
libview/ev-view.h

index a2710a99985d5e08663e87b2831588ea8aa8e16f..c3c7554b09646d2038cd11af8544a2771bc8633c 100644 (file)
@@ -161,7 +161,6 @@ struct _EvView {
        gint rotation;
        gdouble scale;
        gint spacing;
-       gdouble dpi;
 
        gboolean loading;
        gboolean continuous;
index 830530846849f61cc8f5750e67b014aa82b9c279..526696ece6cd764438ec58e71fad7b8170e5ece3 100644 (file)
@@ -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)
 {
index 53bc7c8a7452c70ceee7bd32f43bf074e3f92d2a..fde6854c7cc3111913f1c3add7c7dd8759d5d612 100644 (file)
@@ -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,