From a884076dc5d8c9989e18fea59588ca1134f2ec9e Mon Sep 17 00:00:00 2001 From: Georges Basile Stavracas Neto Date: Wed, 19 Nov 2025 09:47:29 -0300 Subject: [PATCH] core/event: Remove g_autoptr declaration Turns out g_date_time_get_timezone() is transfer-none, so assigning it to a g_autoptr variable is invalid. Fixes 42f891ff42ccae4b598a570875e74f6fa717ff9c Part-of: --- src/core/gcal-event.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/gcal-event.c b/src/core/gcal-event.c index ca4ffdd7..9e86f14e 100644 --- a/src/core/gcal-event.c +++ b/src/core/gcal-event.c @@ -231,8 +231,8 @@ build_component_from_datetime (GcalEvent *self, } else { - g_autoptr (GTimeZone) zone = NULL; ICalTimezone *tz; + GTimeZone *zone; zone = g_date_time_get_timezone (dt); tz = gcal_timezone_to_icaltimezone (zone);