From b0f455c70210ea1be47ccbc277786664f830deb8 Mon Sep 17 00:00:00 2001 From: Luca Bacci Date: Wed, 27 Feb 2019 16:15:56 +0100 Subject: [PATCH] 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 --- include/HBoxOperations.h | 2 +- src/HBoxOperations.cc | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/include/HBoxOperations.h b/include/HBoxOperations.h index 2511fd5f..fdc2a767 100644 --- a/include/HBoxOperations.h +++ b/include/HBoxOperations.h @@ -28,7 +28,7 @@ namespace GParted { -class HBoxOperations : public Gtk::HBox +class HBoxOperations : public Gtk::Box { public: HBoxOperations() ; diff --git a/src/HBoxOperations.cc b/src/HBoxOperations.cc index a420756b..09bce99e 100644 --- a/src/HBoxOperations.cc +++ b/src/HBoxOperations.cc @@ -23,7 +23,8 @@ namespace GParted { -HBoxOperations::HBoxOperations() +HBoxOperations::HBoxOperations() + : Gtk::Box(Gtk::ORIENTATION_HORIZONTAL) { //create listview for pending operations liststore_operations = Gtk::ListStore::create( treeview_operations_columns );