[tracker/extractor-dbus-fd] Move DBus some constants to libtracker-common
- From: Adrien Bustany <abustany src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker/extractor-dbus-fd] Move DBus some constants to libtracker-common
- Date: Fri, 2 Jul 2010 13:03:29 +0000 (UTC)
commit 255507c45983a9b6accf5ba74c726b41f37742f1
Author: Adrien Bustany <abustany gnome org>
Date: Fri Jul 2 11:06:23 2010 +0200
Move DBus some constants to libtracker-common
src/libtracker-common/tracker-dbus.h | 4 ++++
src/miners/fs/tracker-miner-files.c | 5 +----
2 files changed, 5 insertions(+), 4 deletions(-)
---
diff --git a/src/libtracker-common/tracker-dbus.h b/src/libtracker-common/tracker-dbus.h
index 438ee57..09b5419 100644
--- a/src/libtracker-common/tracker-dbus.h
+++ b/src/libtracker-common/tracker-dbus.h
@@ -78,6 +78,10 @@ G_BEGIN_DECLS
}; \
} G_STMT_END
+#define TRACKER_DBUS_SERVICE_EXTRACT "org.freedesktop.Tracker1.Extract"
+#define TRACKER_DBUS_PATH_EXTRACT "/org/freedesktop/Tracker1/Extract"
+#define TRACKER_DBUS_INTERFACE_EXTRACT "org.freedesktop.Tracker1.Extract"
+
typedef struct TrackerDBusRequestHandler TrackerDBusRequestHandler;
typedef void (*TrackerDBusRequestFunc) (guint request_id,
diff --git a/src/miners/fs/tracker-miner-files.c b/src/miners/fs/tracker-miner-files.c
index f6ffa61..63bfd05 100644
--- a/src/miners/fs/tracker-miner-files.c
+++ b/src/miners/fs/tracker-miner-files.c
@@ -36,6 +36,7 @@
#include <dbus/dbus.h>
#include <libtracker-common/tracker-date-time.h>
+#include <libtracker-common/tracker-dbus.h>
#include <libtracker-common/tracker-ontologies.h>
#include <libtracker-common/tracker-power.h>
#include <libtracker-common/tracker-type-utils.h>
@@ -57,10 +58,6 @@
*/
#define N_DAYS_THRESHOLD 3
-#define TRACKER_DBUS_SERVICE_EXTRACT "org.freedesktop.Tracker1.Extract"
-#define TRACKER_DBUS_PATH_EXTRACT "/org/freedesktop/Tracker1/Extract"
-#define TRACKER_DBUS_INTERFACE_EXTRACT "org.freedesktop.Tracker1.Extract"
-
#define TRACKER_MINER_FILES_GET_PRIVATE(o) (G_TYPE_INSTANCE_GET_PRIVATE ((o), TRACKER_TYPE_MINER_FILES, TrackerMinerFilesPrivate))
static GQuark miner_files_error_quark = 0;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]