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:
parent
fb4878bb7c
commit
9420174477
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user