[evince] libview: do not schedule a resize in ensure_rectangle_is_visible



commit 0597aa72d629c43f3a45425df73924549fa7ac63
Author: Carlos Garcia Campos <carlosgc gnome org>
Date:   Fri Jul 12 15:13:39 2013 +0200

    libview: do not schedule a resize in ensure_rectangle_is_visible
    
    It will be scheduled if the adjustments change.

 libview/ev-view.c |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)
---
diff --git a/libview/ev-view.c b/libview/ev-view.c
index 772cbb2..7348362 100644
--- a/libview/ev-view.c
+++ b/libview/ev-view.c
@@ -1062,8 +1062,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 ***/


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]