summaryrefslogtreecommitdiff
path: root/src/nautilus-freedesktop-dbus.c
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-freedesktop-dbus.c
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-freedesktop-dbus.c')
-rw-r--r--src/nautilus-freedesktop-dbus.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/nautilus-freedesktop-dbus.c b/src/nautilus-freedesktop-dbus.c
index 554b1bc3d..ac34662e3 100644
--- a/src/nautilus-freedesktop-dbus.c
+++ b/src/nautilus-freedesktop-dbus.c
@@ -18,16 +18,15 @@
* Federico Mena Quintero <federico@gnome.org>
*/
-#include <config.h>
-
-#include "nautilus-application.h"
#include "nautilus-freedesktop-dbus.h"
-#include "nautilus-freedesktop-generated.h"
/* We share the same debug domain as nautilus-dbus-manager */
#define DEBUG_FLAG NAUTILUS_DEBUG_DBUS
#include "nautilus-debug.h"
+#include "nautilus-application.h"
+#include "nautilus-file.h"
+#include "nautilus-freedesktop-generated.h"
#include "nautilus-properties-window.h"
#include <gio/gio.h>