[tracker] Fix invalid #ifdef
- From: Jürg Billeter <juergbi src gnome org>
- To: svn-commits-list gnome org
- Subject: [tracker] Fix invalid #ifdef
- Date: Tue, 23 Jun 2009 07:10:01 -0400 (EDT)
commit e1c7753272522474f37f0ec022b06cb2c75e60ce
Author: Jürg Billeter <j bitron ch>
Date: Tue Jun 23 13:06:04 2009 +0200
Fix invalid #ifdef
src/tracker-indexer/tracker-indexer.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/src/tracker-indexer/tracker-indexer.c b/src/tracker-indexer/tracker-indexer.c
index ef505ad..f90a24e 100644
--- a/src/tracker-indexer/tracker-indexer.c
+++ b/src/tracker-indexer/tracker-indexer.c
@@ -472,7 +472,7 @@ tracker_indexer_transaction_open (TrackerIndexer *indexer)
start_transaction (indexer);
}
-#ifdef HAVE_HAL || HAVE_DEVKIT_POWER
+#if defined(HAVE_HAL) || defined(HAVE_DEVKIT_POWER)
static void
set_up_throttle (TrackerIndexer *indexer)
@@ -613,7 +613,7 @@ tracker_indexer_finalize (GObject *object)
g_timer_destroy (priv->timer);
}
-#ifdef HAVE_HAL || HAVE_DEVKIT_POWER
+#if defined(HAVE_HAL) || defined(HAVE_DEVKIT_POWER)
g_signal_handlers_disconnect_by_func (priv->power,
notify_on_battery_cb,
TRACKER_INDEXER (object));
@@ -973,7 +973,7 @@ tracker_indexer_init (TrackerIndexer *indexer)
priv->storage = tracker_storage_new ();
#endif /* HAVE_HAL */
-#ifdef HAVE_HAL || HAVE_DEVKIT_POWER
+#if defined(HAVE_HAL) || defined(HAVE_DEVKIT_POWER)
priv->power = tracker_power_new ();
g_signal_connect (priv->power, "notify::on-battery",
G_CALLBACK (notify_on_battery_cb),
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]