[tracker] miner-fs: Add comments to #endifs
- From: Carlos Garnacho <carlosg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker] miner-fs: Add comments to #endifs
- Date: Fri, 22 Nov 2013 16:28:43 +0000 (UTC)
commit 293f5337bfc502622a483a802d60c040e4ffcca7
Author: Carlos Garnacho <carlos lanedo com>
Date: Fri Nov 22 14:27:42 2013 +0100
miner-fs: Add comments to #endifs
So it is easier to follow the #if condition
src/miners/fs/tracker-power-upower.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/src/miners/fs/tracker-power-upower.c b/src/miners/fs/tracker-power-upower.c
index 677581b..840949f 100644
--- a/src/miners/fs/tracker-power-upower.c
+++ b/src/miners/fs/tracker-power-upower.c
@@ -45,7 +45,7 @@ static void tracker_power_get_property (GObject *object,
#ifdef HAVE_UP_CLIENT_GET_ON_LOW_BATTERY
static void tracker_power_client_changed_cb (UpClient *client,
TrackerPower *power);
-#endif
+#endif /* HAVE_UP_CLIENT_GET_ON_LOW_BATTERY */
enum {
PROP_0,
@@ -112,7 +112,7 @@ on_warning_level_changed (UpDevice *device, GParamSpec *pspec, TrackerPower *pow
g_object_notify (G_OBJECT (power), "on-low-battery");
}
}
-#endif
+#endif /* !HAVE_UP_CLIENT_GET_ON_LOW_BATTERY */
static void
tracker_power_init (TrackerPower *power)
@@ -137,7 +137,7 @@ tracker_power_init (TrackerPower *power)
g_signal_connect (priv->composite_device, "notify::warning-level",
G_CALLBACK (on_warning_level_changed), power);
on_warning_level_changed (priv->composite_device, NULL, power);
-#endif
+#endif /* HAVE_UP_CLIENT_GET_ON_LOW_BATTERY */
}
static void
@@ -202,7 +202,7 @@ tracker_power_client_changed_cb (UpClient *client, TrackerPower *power)
g_object_notify (G_OBJECT (power), "on-low-battery");
}
}
-#endif
+#endif /* HAVE_UP_CLIENT_GET_ON_LOW_BATTERY */
/**
* tracker_power_new:
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]