correct CANVAS_STRING_VARIABLE macro in UIConfiguration constructor
authorPaul Davis <paul@linuxaudiosystems.com>
Fri, 13 Jun 2014 16:21:10 +0000 (12:21 -0400)
committerPaul Davis <paul@linuxaudiosystems.com>
Fri, 13 Jun 2014 16:22:39 +0000 (12:22 -0400)
gtk2_ardour/ui_config.cc

index 2e856e629e732aa2b88b8181c5a3db29474e36e6..342adb294fd2687ed1bc23c998aa450b3f406235 100644 (file)
@@ -45,8 +45,8 @@ UIConfiguration::UIConfiguration ()
 #undef  UI_CONFIG_VARIABLE
 #undef  CANVAS_VARIABLE
 #define UI_CONFIG_VARIABLE(Type,var,name,val) var (name,val),
-#define CANVAS_VARIABLE(var,val) var (val),
-#define CANVAS_STRING_VARIABLE(var,val) var (val),
+#define CANVAS_VARIABLE(var,name) var (name),
+#define CANVAS_STRING_VARIABLE(var,name) var (name),
 #include "ui_config_vars.h"
 #include "canvas_vars.h"
 #undef  UI_CONFIG_VARIABLE
@@ -54,7 +54,6 @@ UIConfiguration::UIConfiguration ()
 #undef  CANVAS_STRING_VARIABLE
        _dirty (false)
 {
-       std::cerr << "Ruler FOnt in constructor " << canvasvar_RulerFont.get() << "\n";
        load_state();
 }