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.
This commit is contained in:
Mike Fleetwood 2019-04-20 09:25:34 +01:00
parent 57e8ac50f4
commit 2c19a620b1
2 changed files with 15 additions and 3 deletions

View file

@ -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
{

View file

@ -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