gtkmm: use size_request() function instead of deprecated Gtk::Widget::size_request(&)

This commit is contained in:
Mads Kiilerich 2022-01-26 22:00:02 +01:00 committed by Robin Gareus
parent 7f649efd42
commit cb4e10683d
No known key found for this signature in database
GPG key ID: A090BCE02CF57F04
7 changed files with 11 additions and 15 deletions

View file

@ -48,7 +48,7 @@ BigClockWindow::BigClockWindow (AudioClock& c)
add (clock);
clock.show_all ();
clock.size_request (default_size);
default_size = clock.size_request ();
clock.signal_size_allocate().connect (sigc::mem_fun (*this, &BigClockWindow::clock_size_reallocated));
}