summaryrefslogtreecommitdiff
path: root/libview
diff options
context:
space:
mode:
authorCarlos Garcia Campos <[email protected]>2013-07-12 15:13:39 +0200
committerraveit65 <[email protected]>2017-09-06 18:25:34 +0200
commitf132131165bd5b589b7860cce4b190247b2ee83f (patch)
tree6e3d27598206ca60b8398543878cb9db608c9af5 /libview
parent372018254ef9d5ad2672e0359e8ba23b3e4c0f3d (diff)
downloadatril-f132131165bd5b589b7860cce4b190247b2ee83f.tar.bz2
atril-f132131165bd5b589b7860cce4b190247b2ee83f.tar.xz
libview: do not schedule a resize in ensure_rectangle_is_visible
It will be scheduled if the adjustments change. origin commit: https://git.gnome.org/browse/evince/commit/?h=gnome-3-10&id=0597aa7
Diffstat (limited to 'libview')
-rw-r--r--libview/ev-view.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/libview/ev-view.c b/libview/ev-view.c
index 06bc8c8f..19016061 100644
--- a/libview/ev-view.c
+++ b/libview/ev-view.c
@@ -1079,8 +1079,6 @@ ensure_rectangle_is_visible (EvView *view, GdkRectangle *rect)
allocation.width + MARGIN);
gtk_adjustment_set_value (view->hadjustment, value);
}
-
- gtk_widget_queue_resize (GTK_WIDGET (view));
}
/*** Geometry computations ***/