lib/rabbit/renderer/display/drawing-area-base.rb in rabbit-2.2.1 vs lib/rabbit/renderer/display/drawing-area-base.rb in rabbit-3.0.0
- old
+ new
@@ -289,10 +289,10 @@
end
end
def paint(color_name)
context = @drawable.create_cairo_context
- context.set_source_rgb(*Color.parse(color_name).to_gdk_rgb)
+ context.set_source_rgba(*Color.parse(color_name).to_a)
context.paint
end
def draw(widget)
reload_source unless @caching