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.
This commit is contained in:
Jasper St. Pierre 2012-03-15 18:11:45 -04:00
parent fb4878bb7c
commit 9420174477

View File

@ -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);