summaryrefslogtreecommitdiff
path: root/src/nautilus-file.h
diff options
context:
space:
mode:
authorErnestas Kulik <ernestask@gnome.org>2018-05-18 14:24:11 +0300
committerCarlos Soriano <csoriano1618@gmail.com>2018-05-18 14:39:26 +0000
commite686c29779ec8505da6e2550763d369f2c829890 (patch)
tree819bb80112ef92d83c9a0d1005c09b47cb9a903d /src/nautilus-file.h
parent7696d69dcb0c47f48d145564cda1921f09705010 (diff)
downloadnautilus-e686c29779ec8505da6e2550763d369f2c829890.tar.gz
general: Clean up headers and their inclusions
This commit removes redundant header inclusions and tries to optimize headers by using forward declarations of types in headers. Such optimization should generally make builds speedier in that changes in certain headers will not cause unrelated sources to be rebuilt.
Diffstat (limited to 'src/nautilus-file.h')
-rw-r--r--src/nautilus-file.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nautilus-file.h b/src/nautilus-file.h
index 0e22efd0e..3d803214f 100644
--- a/src/nautilus-file.h
+++ b/src/nautilus-file.h
@@ -23,8 +23,8 @@
#include <gtk/gtk.h>
#include <gio/gio.h>
-#include "nautilus-file-attributes.h"
-#include "nautilus-icon-info.h"
+
+#include "nautilus-types.h"
/* NautilusFile is an object used to represent a single element of a
* NautilusDirectory. It's lightweight and relies on NautilusDirectory