[tracker] libtracker-miner: Fixed include orders
- From: Martyn James Russell <mr src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker] libtracker-miner: Fixed include orders
- Date: Thu, 18 Mar 2010 13:57:03 +0000 (UTC)
commit 20000531dfbb5e4dece1cca72b556e642b68d13e
Author: Martyn Russell <martyn lanedo com>
Date: Wed Mar 17 12:26:27 2010 +0000
libtracker-miner: Fixed include orders
src/libtracker-miner/tracker-dbus.c | 5 ++++-
src/libtracker-miner/tracker-dbus.h | 1 +
.../tracker-gnome-password-provider.c | 3 +++
.../tracker-keyfile-password-provider.c | 4 +++-
src/libtracker-miner/tracker-miner-web.c | 4 +++-
src/libtracker-miner/tracker-password-provider.c | 6 +++---
src/libtracker-miner/tracker-utils.c | 2 ++
7 files changed, 19 insertions(+), 6 deletions(-)
---
diff --git a/src/libtracker-miner/tracker-dbus.c b/src/libtracker-miner/tracker-dbus.c
index 984ee23..e0d4ab0 100644
--- a/src/libtracker-miner/tracker-dbus.c
+++ b/src/libtracker-miner/tracker-dbus.c
@@ -18,11 +18,14 @@
* Boston, MA 02110-1301, USA.
*/
+#include "config.h"
+
#include <stdlib.h>
+#include <dbus/dbus-glib-bindings.h>
+
#include "tracker-dbus.h"
#include "tracker-miner-dbus.h"
-#include <dbus/dbus-glib-bindings.h>
typedef struct {
DBusGConnection *connection;
diff --git a/src/libtracker-miner/tracker-dbus.h b/src/libtracker-miner/tracker-dbus.h
index fc7020b..53ca131 100644
--- a/src/libtracker-miner/tracker-dbus.h
+++ b/src/libtracker-miner/tracker-dbus.h
@@ -22,6 +22,7 @@
#define __LIBTRACKER_MINER_DBUS_H__
#include <libtracker-common/tracker-dbus.h>
+
#include "tracker-miner.h"
typedef void (* TrackerMinerDBusNameFunc) (TrackerMiner *miner,
diff --git a/src/libtracker-miner/tracker-gnome-password-provider.c b/src/libtracker-miner/tracker-gnome-password-provider.c
index 5adc2c7..c54a35e 100644
--- a/src/libtracker-miner/tracker-gnome-password-provider.c
+++ b/src/libtracker-miner/tracker-gnome-password-provider.c
@@ -18,7 +18,10 @@
* Boston, MA 02110-1301, USA.
*/
+#include "config.h"
+
#include <glib-object.h>
+
#include <gnome-keyring.h>
#include "tracker-password-provider.h"
diff --git a/src/libtracker-miner/tracker-keyfile-password-provider.c b/src/libtracker-miner/tracker-keyfile-password-provider.c
index f82f7f4..7b32ee3 100644
--- a/src/libtracker-miner/tracker-keyfile-password-provider.c
+++ b/src/libtracker-miner/tracker-keyfile-password-provider.c
@@ -18,10 +18,12 @@
* Boston, MA 02110-1301, USA.
*/
-#include <glib-object.h>
+#include "config.h"
#include <sys/mman.h>
+#include <glib-object.h>
+
#include "tracker-password-provider.h"
#define TRACKER_TYPE_PASSWORD_PROVIDER_KEYFILE (tracker_password_provider_keyfile_get_type())
diff --git a/src/libtracker-miner/tracker-miner-web.c b/src/libtracker-miner/tracker-miner-web.c
index 757e1ae..98a980c 100644
--- a/src/libtracker-miner/tracker-miner-web.c
+++ b/src/libtracker-miner/tracker-miner-web.c
@@ -18,8 +18,10 @@
* Boston, MA 02110-1301, USA.
*/
-#include "tracker-miner-web.h"
+#include "config.h"
+
#include "tracker-dbus.h"
+#include "tracker-miner-web.h"
#include "tracker-miner-web-dbus.h"
#include "tracker-miner-web-glue.h"
diff --git a/src/libtracker-miner/tracker-password-provider.c b/src/libtracker-miner/tracker-password-provider.c
index 7059eaa..8d76160 100644
--- a/src/libtracker-miner/tracker-password-provider.c
+++ b/src/libtracker-miner/tracker-password-provider.c
@@ -17,12 +17,12 @@
* Boston, MA 02110-1301, USA.
*/
-#include "tracker-password-provider.h"
+#include "config.h"
-#include <sys/mman.h>
#include <string.h>
+#include <sys/mman.h>
-#include "config.h"
+#include "tracker-password-provider.h"
static void
tracker_password_provider_init (gpointer object_class)
diff --git a/src/libtracker-miner/tracker-utils.c b/src/libtracker-miner/tracker-utils.c
index 6b8a47e..5d91ba5 100644
--- a/src/libtracker-miner/tracker-utils.c
+++ b/src/libtracker-miner/tracker-utils.c
@@ -17,6 +17,8 @@
* Boston, MA 02110-1301, USA.
*/
+#include "config.h"
+
#include "tracker-utils.h"
gboolean
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]