From f132131165bd5b589b7860cce4b190247b2ee83f Mon Sep 17 00:00:00 2001 From: Carlos Garcia Campos Date: Fri, 12 Jul 2013 15:13:39 +0200 Subject: 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 --- libview/ev-view.c | 2 -- 1 file changed, 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 ***/ -- cgit v1.2.1