[tracker/compilation-warnings: 11/13] libtracker-miner: add TRACKER prefix to MAX_TIMEOUT_INTERVAL
- From: Aleksander Morgado <aleksm src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker/compilation-warnings: 11/13] libtracker-miner: add TRACKER prefix to MAX_TIMEOUT_INTERVAL
- Date: Fri, 16 Dec 2011 12:44:42 +0000 (UTC)
commit 259194b5c49085dd5e716e8d3cbbcdbe3376ef39
Author: Aleksander Morgado <aleksander lanedo com>
Date: Fri Dec 16 12:50:54 2011 +0100
libtracker-miner: add TRACKER prefix to MAX_TIMEOUT_INTERVAL
src/libtracker-miner/tracker-crawler.c | 2 +-
src/libtracker-miner/tracker-crawler.h | 2 +-
src/libtracker-miner/tracker-miner-fs.c | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/src/libtracker-miner/tracker-crawler.c b/src/libtracker-miner/tracker-crawler.c
index 6c3b4d9..ff3ac51 100644
--- a/src/libtracker-miner/tracker-crawler.c
+++ b/src/libtracker-miner/tracker-crawler.c
@@ -961,7 +961,7 @@ tracker_crawler_set_throttle (TrackerCrawler *crawler,
if (crawler->priv->idle_id != 0) {
guint interval, idle_id;
- interval = MAX_TIMEOUT_INTERVAL * crawler->priv->throttle;
+ interval = TRACKER_MAX_TIMEOUT_INTERVAL * crawler->priv->throttle;
g_source_remove (crawler->priv->idle_id);
diff --git a/src/libtracker-miner/tracker-crawler.h b/src/libtracker-miner/tracker-crawler.h
index 2bed372..1bae0f6 100644
--- a/src/libtracker-miner/tracker-crawler.h
+++ b/src/libtracker-miner/tracker-crawler.h
@@ -37,7 +37,7 @@ G_BEGIN_DECLS
#define TRACKER_CRAWLER_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), TRACKER_TYPE_CRAWLER, TrackerCrawlerClass))
/* Max timeouts time (in msec) */
-#define MAX_TIMEOUT_INTERVAL 1000
+#define TRACKER_MAX_TIMEOUT_INTERVAL 1000
typedef struct TrackerCrawler TrackerCrawler;
typedef struct TrackerCrawlerClass TrackerCrawlerClass;
diff --git a/src/libtracker-miner/tracker-miner-fs.c b/src/libtracker-miner/tracker-miner-fs.c
index dacff3f..ddaa218 100644
--- a/src/libtracker-miner/tracker-miner-fs.c
+++ b/src/libtracker-miner/tracker-miner-fs.c
@@ -2239,7 +2239,7 @@ _tracker_idle_add (TrackerMinerFS *fs,
{
guint interval;
- interval = MAX_TIMEOUT_INTERVAL * fs->priv->throttle;
+ interval = TRACKER_MAX_TIMEOUT_INTERVAL * fs->priv->throttle;
if (interval == 0) {
return g_idle_add_full (TRACKER_TASK_PRIORITY, func, user_data, NULL);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]