Prompt the user for confirmation before removing an export format.
[ardour.git] / libs / gtkmm2ext / barcontroller.cc
index 3afd0a98b939ca5c3c6e462241424075cc98280f..50c21e57e7016ca5de2c786d304ff54cdb8d9b7c 100644 (file)
@@ -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) {