From bdb09d6e4a74f1e1a4f9b7e8b753dfb29e7d4028 Mon Sep 17 00:00:00 2001 From: Carlos Garcia Campos Date: Mon, 24 Aug 2009 15:58:41 +0200 Subject: [PATCH] [shell] Remove unneeded call to ev_view_set_screen_dpi() --- shell/ev-window.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/shell/ev-window.c b/shell/ev-window.c index 9bd7860a..ba59b3e9 100644 --- a/shell/ev-window.c +++ b/shell/ev-window.c @@ -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", -- 2.43.5