gtimezone: Stop using deprecated API

Signed-off-by: Philip Withnall <withnall@endlessm.com>
This commit is contained in:
Philip Withnall 2019-05-27 19:33:26 +01:00
parent 52b38ba6da
commit 05f7ea9fc5

View File

@ -850,7 +850,7 @@ find_relative_date (TimeZoneDate *buffer)
else /* M.W.D */
{
guint days;
guint days_in_month = g_date_days_in_month (buffer->mon, buffer->year);
guint days_in_month = g_date_get_days_in_month (buffer->mon, buffer->year);
GDateWeekday first_wday;
g_date_set_dmy (&date, 1, buffer->mon, buffer->year);