[gnome-shell/nbtk-introduction: 3/8] Remove hardcoded '28' from NbtkScrollView



commit 1edc88a2bd2c0ae874701c6875c5ae2feff2bb6e
Author: Colin Walters <walters verbum org>
Date:   Thu Sep 10 01:24:13 2009 -0400

    Remove hardcoded '28' from NbtkScrollView
    
    https://bugzilla.gnome.org/show_bug.cgi?id=591245

 src/nbtk/nbtk-scroll-view.c |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)
---
diff --git a/src/nbtk/nbtk-scroll-view.c b/src/nbtk/nbtk-scroll-view.c
index 7ea0e66..32c9928 100644
--- a/src/nbtk/nbtk-scroll-view.c
+++ b/src/nbtk/nbtk-scroll-view.c
@@ -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;



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]