diff options
Diffstat (limited to 'libs/gtkmm2ext/barcontroller.cc')
-rw-r--r-- | libs/gtkmm2ext/barcontroller.cc | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/libs/gtkmm2ext/barcontroller.cc b/libs/gtkmm2ext/barcontroller.cc index 3afd0a98b9..50c21e57e7 100644 --- a/libs/gtkmm2ext/barcontroller.cc +++ b/libs/gtkmm2ext/barcontroller.cc @@ -313,7 +313,7 @@ BarController::expose (GdkEventExpose* /*event*/) Gdk::Color c; Widget* parent; - gint x1=0, x2=0, y1=0, y2=0; + gint x1=0, x2=0, y2=0; gint w, h; double fract, radius; float r, g, b; @@ -327,7 +327,6 @@ BarController::expose (GdkEventExpose* /*event*/) h = darea.get_height(); x1 = (gint) floor (w * fract); x2 = x1; - y1 = 0; y2 = h - 1; if (use_parent) { |