Use Gtk::Box for HBoxOperations (!25)

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

This commit makes the change for HBoxOperations.{h,cc}.

Closes !25 - Modern Gtk3 - part 1
This commit is contained in:
Luca Bacci 2019-02-27 16:15:56 +01:00 committed by Mike Fleetwood
parent c02c3ee4b5
commit b0f455c702
2 changed files with 3 additions and 2 deletions

View File

@ -28,7 +28,7 @@
namespace GParted namespace GParted
{ {
class HBoxOperations : public Gtk::HBox class HBoxOperations : public Gtk::Box
{ {
public: public:
HBoxOperations() ; HBoxOperations() ;

View File

@ -23,7 +23,8 @@
namespace GParted namespace GParted
{ {
HBoxOperations::HBoxOperations() HBoxOperations::HBoxOperations()
: Gtk::Box(Gtk::ORIENTATION_HORIZONTAL)
{ {
//create listview for pending operations //create listview for pending operations
liststore_operations = Gtk::ListStore::create( treeview_operations_columns ); liststore_operations = Gtk::ListStore::create( treeview_operations_columns );