Use Gtk::Box for Dialog_Progress (!25)

Gtk::HBox and Gtk::VBox were deprecated in Gtkmm 3.2.  Replace with
plain Gtk::Box.

This commit makes the change for Dialog_Progress.cc.

Closes !25 - Modern Gtk3 - part 1
This commit is contained in:
Luca Bacci 2019-02-27 16:55:50 +01:00 committed by Mike Fleetwood
parent d780ca644e
commit 07fc4aefc3
1 changed files with 1 additions and 1 deletions

View File

@ -49,7 +49,7 @@ Dialog_Progress::Dialog_Progress(const std::vector<Device>& devices, const std::
this->property_default_width() = 700;
{
Gtk::VBox* vbox(manage(new Gtk::VBox()));
Gtk::Box *vbox(manage(new Gtk::Box(Gtk::ORIENTATION_VERTICAL)));
vbox->set_border_width(10);
this->get_vbox()->pack_start(*vbox, Gtk::PACK_EXPAND_WIDGET);