[gnome-calendar/gnome-3-18] Revert "search-view: protect against empty component date"
- From: Georges Basile Stavracas Neto <gbsneto src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-calendar/gnome-3-18] Revert "search-view: protect against empty component date"
- Date: Tue, 8 Mar 2016 17:31:01 +0000 (UTC)
commit db43ec73b5c1dd53419b0266180d7ac42d78fd75
Author: Georges Basile Stavracas Neto <georges stavracas gmail com>
Date: Tue Mar 8 14:26:04 2016 -0300
Revert "search-view: protect against empty component date"
This reverts commit 17af33a5c6cb219d2524f2d1671c7d7ab360cb6c.
src/gcal-search-view.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/gcal-search-view.c b/src/gcal-search-view.c
index 5efb9f2..9d472f3 100644
--- a/src/gcal-search-view.c
+++ b/src/gcal-search-view.c
@@ -381,7 +381,7 @@ make_row_for_event_data (GcalSearchView *view,
/* start date & time */
if (comp_dt.tzid != NULL)
tz = g_time_zone_new (comp_dt.tzid);
- else if (comp_dt.value && comp_dt.value->zone)
+ else if (comp_dt.value->zone != NULL)
tz = g_time_zone_new (icaltimezone_get_tzid ((icaltimezone*) comp_dt.value->zone));
else
tz = g_time_zone_new_local ();
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]