From 05f7ea9fc5a2da30862d6bf70f1d519f0059634c Mon Sep 17 00:00:00 2001 From: Philip Withnall <withnall@endlessm.com> Date: Mon, 27 May 2019 19:33:26 +0100 Subject: [PATCH] gtimezone: Stop using deprecated API Signed-off-by: Philip Withnall <withnall@endlessm.com> --- glib/gtimezone.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/glib/gtimezone.c b/glib/gtimezone.c index f418401ee..970b4b1a5 100644 --- a/glib/gtimezone.c +++ b/glib/gtimezone.c @@ -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);