]> www.fi.muni.cz Git - evince.git/commitdiff
[shell] Remove unneeded call to ev_view_set_screen_dpi()
authorCarlos Garcia Campos <carlosgc@gnome.org>
Mon, 24 Aug 2009 13:58:41 +0000 (15:58 +0200)
committerCarlos Garcia Campos <carlosgc@gnome.org>
Tue, 15 Sep 2009 14:01:14 +0000 (16:01 +0200)
shell/ev-window.c

index 9bd7860ae02946042d21486eb5c676bb355c448e..ba59b3e9ce1c92a8bf6bfb48cda6a454354d3430 100644 (file)
@@ -5996,8 +5996,6 @@ ev_window_init (EvWindow *ev_window)
        dpi = get_screen_dpi (GTK_WINDOW (ev_window));
        ev_document_model_set_min_scale (ev_window->priv->model, MIN_SCALE * dpi / 72.0);
        ev_document_model_set_max_scale (ev_window->priv->model, MAX_SCALE * dpi / 72.0);
-       ev_view_set_screen_dpi (EV_VIEW (ev_window->priv->view),
-                               get_screen_dpi (GTK_WINDOW (ev_window)));
        ev_window->priv->password_view = ev_password_view_new (GTK_WINDOW (ev_window));
        g_signal_connect_swapped (ev_window->priv->password_view,
                                  "unlock",