summaryrefslogtreecommitdiff
path: root/glib
diff options
context:
space:
mode:
authorPhilip Withnall <withnall@endlessm.com>2019-05-27 19:33:26 +0100
committerPhilip Withnall <withnall@endlessm.com>2019-05-30 10:38:45 +0100
commit05f7ea9fc5a2da30862d6bf70f1d519f0059634c (patch)
tree3dd86493475659d2ab302dd9ce0e2fb0e76ad1d6 /glib
parent52b38ba6da3351a857080456563117b1d86b9901 (diff)
downloadglib-05f7ea9fc5a2da30862d6bf70f1d519f0059634c.tar.gz
gtimezone: Stop using deprecated API
Signed-off-by: Philip Withnall <withnall@endlessm.com>
Diffstat (limited to 'glib')
-rw-r--r--glib/gtimezone.c2
1 files changed, 1 insertions, 1 deletions
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);