Remove hardcoded '28' from NbtkScrollView

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 271e4ca07e
commit 1edc88a2bd

View File

@ -289,8 +289,6 @@ nbtk_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;