From 601c317d70a03190257577bd867cefc2c70d3275 Mon Sep 17 00:00:00 2001 From: Robin Gareus Date: Mon, 17 Jul 2017 18:34:35 +0200 Subject: Clean up library inheritance (colors.h, utils.h) make libwidget independent of libcanvas. Confine basics to pbd and gtkmm2ext. --- libs/ardour/lua_api.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libs/ardour/lua_api.cc') diff --git a/libs/ardour/lua_api.cc b/libs/ardour/lua_api.cc index 0e82276b1e..42f270e452 100644 --- a/libs/ardour/lua_api.cc +++ b/libs/ardour/lua_api.cc @@ -486,7 +486,7 @@ ARDOUR::LuaAPI::hsla_to_rgba (lua_State *L) a = luabridge::Stack::get (L, 4); } - // we can't use ArdourCanvas::hsva_to_color here + // we can't use Gtkmm2ext::hsva_to_color here // besides we want HSL not HSV and without intermediate // color_to_rgba (rgba_to_color ()) double r, g, b; @@ -515,7 +515,7 @@ ARDOUR::LuaAPI::color_to_rgba (lua_State *L) /* libardour is no user of libcanvas, otherwise * we could just call - * ArdourCanvas::color_to_rgba (color, r, g, b, a); + * Gtkmm2ext::color_to_rgba (color, r, g, b, a); */ r = ((color >> 24) & 0xff) / 255.0; g = ((color >> 16) & 0xff) / 255.0; -- cgit v1.2.3