Fix modest_tny_msg_header_get_all_recipients_list (in case from is empty)
[modest] / src / modest-datetime-formatter.c
index 1597be2..db50dc1 100644 (file)
@@ -230,8 +230,10 @@ modest_datetime_formatter_finalize   (GObject *obj)
                                 NULL);
 
        /* Disconnect notification */
                                 NULL);
 
        /* Disconnect notification */
+#ifdef MODEST_USE_LIBTIME
        osso_time_set_notification_cb (modest_platform_get_osso_context (), NULL, NULL);
 #endif
        osso_time_set_notification_cb (modest_platform_get_osso_context (), NULL, NULL);
 #endif
+#endif
        G_OBJECT_CLASS (parent_class)->finalize (obj);
 }
 
        G_OBJECT_CLASS (parent_class)->finalize (obj);
 }