Constification: make Stateful::get_state() const, with all other required const-ness added (GUI)

This commit is contained in:
Paul Davis 2022-04-06 21:56:45 -06:00
parent 7bf89ce109
commit ca22ba77e1
35 changed files with 43 additions and 42 deletions

View file

@ -49,7 +49,7 @@ public:
void set_session (ARDOUR::Session *);
XMLNode& get_state (void);
XMLNode& get_state () const;
int set_state (const XMLNode& );
void show_window ();
@ -130,10 +130,10 @@ private:
void update_title ();
// for restoring window geometry.
int m_root_x, m_root_y, m_width, m_height;
mutable int m_root_x, m_root_y, m_width, m_height;
void set_window_pos_and_size ();
void get_window_pos_and_size ();
void get_window_pos_and_size () const;
bool on_key_press_event (GdkEventKey*);
bool on_key_release_event (GdkEventKey*);