Remove hardcoded '28' from StScrollView

https://bugzilla.gnome.org/show_bug.cgi?id=591245
This commit is contained in:
Colin Walters 2009-09-10 01:24:13 -04:00 committed by Owen W. Taylor
parent d453067e24
commit 66414ea3f6

View File

@ -303,8 +303,6 @@ st_scroll_view_allocate (ClutterActor *actor,
"scrollbar-width", &sb_width,
"scrollbar-height", &sb_height,
NULL);
sb_width = 28;
sb_height = 28;
if (!CLUTTER_ACTOR_IS_VISIBLE (priv->vscroll))
sb_width = 0;