[gparted] Update includes in DialogFeatures.h and .cc
- From: Curtis Gedak <gedakc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gparted] Update includes in DialogFeatures.h and .cc
- Date: Wed, 24 Apr 2019 15:05:47 +0000 (UTC)
commit 2c19a620b19e3c446095f6203db04d0976b7cad2
Author: Mike Fleetwood <mike fleetwood googlemail com>
Date: Sat Apr 20 09:25:34 2019 +0100
Update includes in DialogFeatures.h and .cc
Mostly add, but also remove, #includes so both DialogFeatures.h and .cc
include exactly the header files each needs to get the definitions they
use.
Header file #include guards are there to specifically enable this.
include/DialogFeatures.h | 6 +++++-
src/DialogFeatures.cc | 12 ++++++++++--
2 files changed, 15 insertions(+), 3 deletions(-)
---
diff --git a/include/DialogFeatures.h b/include/DialogFeatures.h
index 3b4ed454..4e824eaa 100644
--- a/include/DialogFeatures.h
+++ b/include/DialogFeatures.h
@@ -18,6 +18,7 @@
#ifndef GPARTED_DIALOGFEATURES_H
#define GPARTED_DIALOGFEATURES_H
+
#include "FileSystem.h"
#include <gtkmm/dialog.h>
@@ -25,7 +26,10 @@
#include <gtkmm/treeview.h>
#include <gtkmm/liststore.h>
#include <gtkmm/scrolledwindow.h>
-#include <gtkmm/image.h>
+#include <glibmm/ustring.h>
+#include <gdkmm/pixbuf.h>
+#include <vector>
+
namespace GParted
{
diff --git a/src/DialogFeatures.cc b/src/DialogFeatures.cc
index c03eed4f..13582929 100644
--- a/src/DialogFeatures.cc
+++ b/src/DialogFeatures.cc
@@ -15,12 +15,22 @@
* along with this program; if not, see <http://www.gnu.org/licenses/>.
*/
+
#include "DialogFeatures.h"
#include "FileSystem.h"
#include "GParted_Core.h"
#include "Utils.h"
#include <gtkmm/stock.h>
+#include <gdkmm/pixbuf.h>
+#include <gtkmm/treeview.h>
+#include <gtkmm/liststore.h>
+#include <gtkmm/box.h>
+#include <glibmm/ustring.h>
+#include <gtkmm/label.h>
+#include <gtkmm/image.h>
+#include <vector>
+
namespace GParted
{
@@ -200,5 +210,3 @@ DialogFeatures::~DialogFeatures()
}
} //GParted
-
-
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]