13
0

led widget: disambiguate namespace for Color type

This commit is contained in:
Paul Davis 2022-08-10 18:14:28 -06:00
parent 9178758f54
commit 5dbcd76cb1

View File

@ -54,7 +54,7 @@ LED::render (Cairo::RefPtr<Cairo::Context> const& ctx, cairo_rectangle_t*)
Widget* parent; Widget* parent;
RefPtr<Style> style; RefPtr<Style> style;
Color c; Gdk::Color c;
parent = get_parent (); parent = get_parent ();
@ -145,7 +145,7 @@ void
LED::set_colors_from_style () LED::set_colors_from_style ()
{ {
RefPtr<Style> style = get_style(); RefPtr<Style> style = get_style();
Color c; Gdk::Color c;
switch (_visual_state) { switch (_visual_state) {
case VisualState(0): case VisualState(0):