add VU and IEC meter DSP (from jmeters)
[ardour.git] / gtk2_ardour / window_manager.cc
index 629e24419b470716e51ae078e9c3609eb5ac5bfa..5fa1b6c7b0a98fd2f997c05aa20580024ef5790a 100644 (file)
@@ -420,8 +420,10 @@ void
 ProxyBase::save_pos_and_size ()
 {
        Gtk::Window* win = get (false);
-       win->get_position (_x_off, _y_off);
-       win->get_size (_width, _height);
+       if (win) {
+               win->get_position (_x_off, _y_off);
+               win->get_size (_width, _height);
+       }
 }
 /*-----------------------*/