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
This commit is contained in:
Vikram Kangotra
2025-02-19 11:43:41 -05:00
committed by Jean-François Fortin Tam
parent 8039603253
commit ee4fab89ee
+1 -1
View File
@@ -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;
}