[gnome-calendar/gnome-3-18] Follow up for the previous commit



commit c1082e65d5b352af5e08c3ef4fcd36842090cfe0
Author: Georges Basile Stavracas Neto <georges stavracas gmail com>
Date:   Tue Mar 8 14:19:03 2016 -0300

    Follow up for the previous commit

 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..74f5a1d 100644
--- a/src/gcal-search-view.c
+++ b/src/gcal-search-view.c
@@ -396,7 +396,7 @@ make_row_for_event_data (GcalSearchView  *view,
   g_free (text);
 
   /* show 'all day' instead of 00:00 */
-  if (comp_dt.value->is_date == 0)
+  if (comp_dt.value && comp_dt.value->is_date == 0)
     {
       text = g_date_time_format (local_datetime, priv->format_24h ? "%R" : "%r");
       time_label = gtk_label_new (text);


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]