[evolution] Remove useless runtime check in date_time_list_finalize()
- From: Milan Crha <mcrha src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution] Remove useless runtime check in date_time_list_finalize()
- Date: Wed, 26 Jun 2019 16:44:33 +0000 (UTC)
commit e6c388a8f0210ca43609e2d34f87a02f86bb1cda
Author: Milan Crha <mcrha redhat com>
Date: Wed Jun 26 18:45:57 2019 +0200
Remove useless runtime check in date_time_list_finalize()
That could be triggered also when cancelling editor changes, which is
a valid case, thus remove the runtime check.
src/calendar/gui/e-date-time-list.c | 2 --
1 file changed, 2 deletions(-)
---
diff --git a/src/calendar/gui/e-date-time-list.c b/src/calendar/gui/e-date-time-list.c
index dd947ffa42..06143fe1c5 100644
--- a/src/calendar/gui/e-date-time-list.c
+++ b/src/calendar/gui/e-date-time-list.c
@@ -219,8 +219,6 @@ date_time_list_finalize (GObject *object)
g_clear_object (&date_time_list->priv->zone);
- g_warn_if_fail (date_time_list->priv->list == NULL);
-
g_list_free_full (date_time_list->priv->list, g_object_unref);
date_time_list->priv->list = NULL;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]