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 f6b80d5ed4
commit ac2be7f0d1

View File

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