13
0

gtkmm2ext: move initialization of CairoWidget members into initializer context

This commit is contained in:
Paul Davis 2021-09-10 13:03:57 -06:00
parent 9f0f1f1772
commit 00d4765b57

View File

@ -51,14 +51,14 @@ CairoWidget::CairoWidget ()
, _current_parent (0)
, _canvas_widget (false)
, _nsglview (0)
#ifdef USE_CAIRO_IMAGE_SURFACE
, _use_image_surface (true)
#else
, _use_image_surface (NULL != getenv("ARDOUR_IMAGE_SURFACE"))
#endif
, _widget_name ("")
{
_name_proxy.connect (sigc::mem_fun (*this, &CairoWidget::on_widget_name_changed));
#ifdef USE_CAIRO_IMAGE_SURFACE
_use_image_surface = true;
#else
_use_image_surface = NULL != getenv("ARDOUR_IMAGE_SURFACE");
#endif
}
CairoWidget::~CairoWidget ()