[gnome-calendar/mcatanzaro/#485] Apply suggestion to src/utils/gcal-date-time-utils.c
- From: Michael Catanzaro <mcatanzaro src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-calendar/mcatanzaro/#485] Apply suggestion to src/utils/gcal-date-time-utils.c
- Date: Tue, 18 Feb 2020 16:03:51 +0000 (UTC)
commit 4a127b7b9794aff1e92a13b959c5a0331afff2f1
Author: Michael Catanzaro <mcatanzaro gnome org>
Date: Tue Feb 18 16:03:35 2020 +0000
Apply suggestion to src/utils/gcal-date-time-utils.c
src/utils/gcal-date-time-utils.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/utils/gcal-date-time-utils.c b/src/utils/gcal-date-time-utils.c
index 7555ec6c..ac2791be 100644
--- a/src/utils/gcal-date-time-utils.c
+++ b/src/utils/gcal-date-time-utils.c
@@ -249,7 +249,7 @@ gcal_timezone_to_icaltimezone (GTimeZone *tz)
tzid = g_time_zone_get_identifier (tz);
ical_tz = i_cal_timezone_get_builtin_timezone (tzid);
- if (ical_tz == NULL)
+ if (!ical_tz)
ical_tz = i_cal_timezone_get_utc_timezone ();
return ical_tz;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]