Commit Graph
2 Commits
Author SHA1 Message Date
Jan-Michael Brummer 63879a0d63 event-widget: Truncate long strings by char not by bytes
Longer text were truncated by bytes instead of chars leading to
invalid text as UTF text sizes are bigger than one byte.
Fix it by using the correct utf8 offset pointer.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-calendar/-/merge_requests/750>
2026-04-23 11:36:00 +00:00
Jan-Michael Brummer 5e30145971 weather-info: Remove duplicate code
gcal_weather_info_get_date is defined twice, remove it.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-calendar/-/merge_requests/749>
2026-04-23 11:32:09 +00:00