aboutsummaryrefslogtreecommitdiff
path: root/libmm-glib/mm-common-helpers.c
diff options
context:
space:
mode:
Diffstat (limited to 'libmm-glib/mm-common-helpers.c')
-rw-r--r--libmm-glib/mm-common-helpers.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libmm-glib/mm-common-helpers.c b/libmm-glib/mm-common-helpers.c
index b57cb205..ac75abcf 100644
--- a/libmm-glib/mm-common-helpers.c
+++ b/libmm-glib/mm-common-helpers.c
@@ -1726,7 +1726,9 @@ static gchar *
date_time_format_iso8601 (GDateTime *dt)
{
#if GLIB_CHECK_VERSION (2, 62, 0)
+ G_GNUC_BEGIN_IGNORE_DEPRECATIONS
return g_date_time_format_iso8601 (dt);
+ G_GNUC_END_IGNORE_DEPRECATIONS
#else
GString *outstr = NULL;
g_autofree gchar *main_date = NULL;