diff --git a/libs/gtkmm2ext/pixfader.cc b/libs/gtkmm2ext/pixfader.cc index 64ee449646..b80d28e84c 100644 --- a/libs/gtkmm2ext/pixfader.cc +++ b/libs/gtkmm2ext/pixfader.cc @@ -369,7 +369,7 @@ PixFader::on_size_allocate (Gtk::Allocation& alloc) _span = alloc.get_width (); } - if (is_realized() && ((old_girth != _girth) || (old_span != _span))) { + if (get_realized() && ((old_girth != _girth) || (old_span != _span))) { /* recreate patterns in case we've changed size */ create_patterns (); } diff --git a/libs/gtkmm2ext/tearoff.cc b/libs/gtkmm2ext/tearoff.cc index bb30e5610f..8348ec2fa6 100644 --- a/libs/gtkmm2ext/tearoff.cc +++ b/libs/gtkmm2ext/tearoff.cc @@ -311,7 +311,7 @@ TearOff::set_state (const XMLNode& node) sscanf (prop->value().c_str(), "%d", &own_window_ypos); } - if (own_window.is_realized()) { + if (own_window.get_realized()) { own_window.set_default_size (own_window_width, own_window_height); own_window.move (own_window_xpos, own_window_ypos); }