gtkmm: use get_realized() instead of deprecated Gtk::Widget::is_realized()

This commit is contained in:
Mads Kiilerich 2022-01-26 21:22:00 +01:00 committed by Robin Gareus
parent a86aa31747
commit 91b08d5f45
No known key found for this signature in database
GPG key ID: A090BCE02CF57F04
9 changed files with 19 additions and 19 deletions

View file

@ -541,7 +541,7 @@ void
GtkCanvas::use_nsglview ()
{
assert (!_nsglview);
assert (!is_realized());
assert (!get_realized());
#ifdef ARDOUR_CANVAS_NSVIEW_TAG // patched gdkquartz.h
_nsglview = Gtkmm2ext::nsglview_create (this);
#endif