[gnome-shell] st-scroll-view: Remove some dead code



commit 9420174477469f108a5b30f9519f17262f49308b
Author: Jasper St. Pierre <jstpierre mecheye net>
Date:   Thu Mar 15 18:11:45 2012 -0400

    st-scroll-view: Remove some dead code
    
    This assignment was shadowed by the giant switch above. Since the
    switch has a comment or two explaining the logic inside of it,
    keep that instead of the assignment.

 src/st/st-scroll-view.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)
---
diff --git a/src/st/st-scroll-view.c b/src/st/st-scroll-view.c
index b19022c..ce6b0cd 100644
--- a/src/st/st-scroll-view.c
+++ b/src/st/st-scroll-view.c
@@ -387,7 +387,6 @@ st_scroll_view_get_preferred_width (ClutterActor *actor,
       break;
     }
 
-  account_for_vscrollbar = priv->vscrollbar_policy != GTK_POLICY_NEVER;
   if (account_for_vscrollbar)
     {
       float sb_width = get_scrollbar_width (ST_SCROLL_VIEW (actor), for_height);



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