fwk::RgbColour gdkcolor_to_rgbcolour(const Gdk::RGBA & colour) { fwk::RgbColour rgbcolour(colour.get_red_u(), colour.get_green_u(), colour.get_blue_u()); return rgbcolour; }
fwk::RgbColourPtr gdkcolor_to_rgbcolour(const Gdk::RGBA & colour) { return fwk::rgbcolour_new(colour.get_red_u(), colour.get_green_u(), colour.get_blue_u()); }