mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-01-14 16:26:17 +01:00
gtimezone: Stop using deprecated API
Signed-off-by: Philip Withnall <withnall@endlessm.com>
This commit is contained in:
parent
52b38ba6da
commit
05f7ea9fc5
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user