[gnome-clocks/bilelmoussaoui/3.36.2: 11/14] Use gboolean instead of stdbool
- From: Bilal Elmoussaoui <bilelmoussaoui src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-clocks/bilelmoussaoui/3.36.2: 11/14] Use gboolean instead of stdbool
- Date: Sun, 10 May 2020 10:26:33 +0000 (UTC)
commit c2106910870eda0dafcbf3668eeb14ceea8b8f7c
Author: Manuel Genovés <manuel genoves gmail com>
Date: Mon Apr 13 19:35:37 2020 +0200
Use gboolean instead of stdbool
Signed-off-by: Manuel Genovés <manuel genoves gmail com>
src/twilight.c | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
---
diff --git a/src/twilight.c b/src/twilight.c
index 2ad4840..baf9cac 100644
--- a/src/twilight.c
+++ b/src/twilight.c
@@ -17,7 +17,6 @@
* Zander Brown <zbrown gnome org>
*/
-#include <stdbool.h>
#include <math.h>
#include <glib.h>
@@ -75,7 +74,7 @@ is_in_north_winter (int month)
*
* Since: 3.36
*/
-bool
+gboolean
calculate_sunrise_sunset (double lat,
double lon,
int year,
@@ -91,7 +90,7 @@ calculate_sunrise_sunset (double lat,
double sunrise_minute;
double sunset_hour;
double sunset_minute;
- bool calculatable = TRUE;
+ gboolean calculatable = TRUE;
// first we calculate our current Julian date
int julian_day_number = ((1461 * (year + 4800 + (month - 14) / 12)) / 4 +
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]