added file
[ardour.git] / libs / gtkmm2ext / barcontroller.cc
index c3c15b4281bf47ff229da0b90f3b6f3be3a054cb..142d22417185efb8bb9080ac8bb03174e23a7d30 100644 (file)
@@ -349,7 +349,8 @@ BarController::expose (GdkEventExpose* event)
                char buf[64];
                buf[0] = '\0';
 
-               label_callback (buf, 64);
+               if (label_callback)
+                       label_callback (buf, 64);
 
                if (buf[0] != '\0') {