From ee4fab89ee7acf7d9bfa2ce4ae30fab17a14d3d4 Mon Sep 17 00:00:00 2001 From: Vikram Kangotra Date: Sun, 25 Feb 2024 13:04:13 +0530 Subject: [PATCH] Month-Cell: Round off the temperature value to integer precision Use `gweather_info_get_temp_summary` to get the temperature with integer precision Fixes: #982 --- src/weather/gcal-weather-service.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/weather/gcal-weather-service.c b/src/weather/gcal-weather-service.c index 70f22ee5..7f4b48b8 100644 --- a/src/weather/gcal-weather-service.c +++ b/src/weather/gcal-weather-service.c @@ -462,7 +462,7 @@ compute_weather_info_data (GSList *samples, if (phenomenon_gwi && temp_gwi) { *icon_name = get_normalized_icon_name (phenomenon_gwi, is_today && !has_daytime && phenomenon_supports_night_icon); - *temperature = gweather_info_get_temp (temp_gwi); + *temperature = gweather_info_get_temp_summary (temp_gwi); return TRUE; }